Add basic project setup files
This commit is contained in:
parent
4c21c9bbb2
commit
433f1faeff
14 changed files with 379 additions and 1 deletions
23
README.md
23
README.md
|
|
@ -2,4 +2,25 @@
|
|||
|
||||
A Django app that allows tracking government plans. Deployed at: https://fragdenstaat.de/koalitionstracker/
|
||||
|
||||
Currently has some hard dependencies on [froide](https://github.com/okfde/froide/) and some less hard ones on [fragdenstaat_de](https://github.com/okfde/fragdenstaat_de/).
|
||||
|
||||
## Install stand-alone
|
||||
|
||||
Requires [GDAL/Geos for GeoDjango](https://docs.djangoproject.com/en/4.1/ref/contrib/gis/install/geolibs/).
|
||||
|
||||
```bash
|
||||
python3 -m venv .venv
|
||||
source .venv/bin/activate
|
||||
pip install -e .
|
||||
./manage.py migrate
|
||||
# Create admin user
|
||||
./manage.py createsuperuser
|
||||
./manage.py runserver
|
||||
```
|
||||
|
||||
|
||||
1. Go to http://localhost:8000/admin/
|
||||
2. Setup a homepage in the CMS: http://localhost:8000/admin/cms/page/
|
||||
3. Setup a page (could be the homepage) and then choose under advanced setting the Govplan app as application.
|
||||
4. Publish that page
|
||||
5. Setup a government and plans via the admin.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue