-
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 6 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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# adhocracy+ | ||
|
||
[adhocracy.plus](https://adhocracy.plus/) is a free Open-Source participation platform maintained and primarily developed by Liquid Democracy e.V.. It is based on [adhocracy 4](https://github.com/liqd/adhocracy4) and [Django](https://github.com/django/django). | ||
[adhocracy.plus](https://adhocracy.plus/) is a free Open-Source participation platform maintained and primarily developed by Liquid Democracy e.V.. It is based on [adhocracy 4](https://github.com/liqd/adhocracy4) and [Django](https://github.com/django/django). The project's [technical documentation] (https://liqd.github.io/adhocracy-plus/) currently is in progress. You are welcome to provide feedback by creating a GitHub issue. | ||
|
||
![Build Status](https://github.com/liqd/adhocracy-plus/actions/workflows/django.yml/badge.svg) | ||
[![Coverage Status](https://coveralls.io/repos/github/liqd/adhocracy-plus/badge.svg?branch=main)](https://coveralls.io/github/liqd/adhocracy-plus?branch=main) | ||
|
@@ -13,30 +13,48 @@ adhocracy+ is designed to make online participation easy and accessible to every | |
|
||
### Requirements | ||
|
||
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. Since we are revisiting the README, we can also add the tech docs. |
||
* 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 Monterey and newer versions) | ||
|
||
### Installation | ||
|
||
git clone https://github.com/liqd/adhocracy-plus.git | ||
cd adhocracy-plus | ||
make install | ||
make install | ||
make fixtures | ||
|
||
### Start virtual environment | ||
|
||
``` | ||
source venv/bin/activate | ||
|
||
``` | ||
### Check if tests work | ||
|
||
``` | ||
make test | ||
|
||
``` | ||
### Start a local server | ||
|
||
``` | ||
make watch | ||
``` | ||
Go to http://localhost:8004/ and login with [email protected] | password | ||
|
||
## Installation on a production system | ||
|
||
You like adhocracy+ and want to run your own version? An installation guide for production systems can be found [here](./docs/installation_prod.md). | ||
|
||
## Contributing or maintaining your own fork | ||
|
||
If you found an issue, want to contribute, or would like to add your own features to your own version of adhocracy+, check out [contributing](./docs/contributing.md). | ||
|
||
## Security | ||
|
||
We take security seriously. If you find any security issues, please feel free to email us at info [at] liqd [dot] net. | ||
|
||
|
||
## Advanced settings | ||
|
||
### Use postgresql database for testing | ||
|
||
|
@@ -51,13 +69,18 @@ make postgres-start | |
make watch | ||
``` | ||
|
||
Go to http://localhost:8004/ and login with [email protected] | password | ||
|
||
### Use Celery for task queues | ||
|
||
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 | ||
- the redis server is running. Check it by running | ||
``` | ||
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 the celery tasks inline instead of scheduling them via the Redis broker. | ||
local.py should be under adhocracy_plus/config/settings, create one if it doesn't exist. This file saves settings for local development. | ||
|
||
To start a celery worker node in the foreground, call: | ||
``` | ||
|
@@ -73,15 +96,4 @@ To send a dummy task to the queue and report the result, call: | |
``` | ||
make celery-worker-dummy-task | ||
``` | ||
|
||
## Installation on a production system | ||
|
||
You like adhocracy+ and want to run your own version? An installation guide for production systems can be found [here](./docs/installation_prod.md). | ||
|
||
## Contributing or maintaining your own fork | ||
|
||
If you found an issue, want to contribute, or would like to add your own features to your own version of adhocracy+, check out [contributing](./docs/contributing.md). | ||
|
||
## Security | ||
|
||
We care about security. So, if you find any issues concerning security, please send us an email at info [at] liqd [dot] net. | ||
Check out our extensive [celery documentation](https://github.com/liqd/adhocracy-plus/compare/docs/celery.md?expand=1) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
### Changed | ||
|
||
- Update README with some notes and new commands for the installation of the a+ repository locally. |
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.
@rjlanari there is an extra space between[ technical documentation] and the relevant link, so the markdown isn't rendering
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.
yes! I noticed it when I saw the document! I corrected and also corrected the command blocks!