-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updates in the README #2750
Updates in the README #2750
Changes from 2 commits
51448a0
9de8e48
4159141
1788d1c
9c94cd9
faaa7d2
ac0e741
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,17 +13,18 @@ adhocracy+ is designed to make online participation easy and accessible to every | |
|
||
### Requirements | ||
|
||
* nodejs (+ npm) | ||
* nodejs (+ npm) | ||
* python 3.x (+ venv + pip) | ||
* libpq (only if postgres should be used) | ||
* sqlite3 [with JSON1 enabled](https://code.djangoproject.com/wiki/JSON1Extension) | ||
* redis (in production, not needed for development) | ||
* pillow-heif (required for macos M1 ...etc) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. By There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @rjlanari see my latest comment above. |
||
|
||
### Installation | ||
|
||
git clone https://github.com/liqd/adhocracy-plus.git | ||
cd adhocracy-plus | ||
make install | ||
make install | ||
make fixtures | ||
|
||
### Start virtual environment | ||
|
@@ -57,7 +58,10 @@ Go to http://localhost:8004/ and login with [email protected] | password | |
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. line 70 needs to go in the section |
||
For a celery worker to pick up tasks you need to make sure that: | ||
- the redis server is running | ||
run: redis-cli ping (it should return: PONG) | ||
- the celery config parameter "always eager" is disabled (add `CELERY_TASK_ALWAYS_EAGER = False` to your `local.py`) | ||
(Celery's always_eager is disabled to ensure tests run tasks when calling code instead of schedulingmac them via the Redis broker.) | ||
To find local.py run: find . -name "local.py" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. there is no local.py when installing from the repo. We need to create it under adhocracy_plus/config/settings. Also would be good to point here that the celery always eager is disabled so that tests can run the celery tasks from the code that is calling them rather than scheduling them with the redis broker. And we could end this celery section by pointing to our extensive celery documentation. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'll make the changes as you point out! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. thanks. once you make and push your changes, click the refresh button next to my reviewer name There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. there is a typo now There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remove the line |
||
|
||
To start a celery worker node in the foreground, call: | ||
``` | ||
|
@@ -73,6 +77,7 @@ To send a dummy task to the queue and report the result, call: | |
``` | ||
make celery-worker-dummy-task | ||
``` | ||
Check out our extensive [celery documentation](https://github.com/liqd/adhocracy-plus/compare/docs/celery.md?expand=1) | ||
|
||
## Installation on a production system | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
### Changes in the README | ||
|
||
I added to the readme some notes and new comands that helped me with the installation of the a+ repository locally. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we don't use personal pronouns in the changelog, it needs to be neutral writing.
So the changelog would be more like the following:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we are revisiting the README, we can also add the tech docs.
On line 3 please add a link to our technical documentation.
E.g The project's technical documentation is in progress. You are welcome to leave your feedback on the documentation by creating a github issue.