Add more descriptions for setup

This commit is contained in:
Stefan Wehrmeyer 2023-02-03 17:13:59 +01:00
parent 28cdd7c3c4
commit 80e56c1702
2 changed files with 16 additions and 1 deletions

View file

@ -8,12 +8,18 @@ A Django app that allows tracking government plans. Deployed at: https://fragden
Requires [GDAL/Geos for GeoDjango](https://docs.djangoproject.com/en/4.1/ref/contrib/gis/install/geolibs/).
```bash
# Start a Postgres server with Postgis
docker compose up -d
# Setup virtualenv
python3 -m venv .venv
source .venv/bin/activate
# Install dependencies
pip install -e .
# Setup initial database
./manage.py migrate
# Create admin user
./manage.py createsuperuser
# Start development server
./manage.py runserver
```
@ -24,3 +30,9 @@ pip install -e .
4. Publish that page
5. Setup a government and plans via the admin.
## Possible next steps
- Use the `project` directory as a blueprint for an app that uses this repo as a depdency.
- Setup [djangocms-text-ckeditor](https://github.com/django-cms/djangocms-text-ckeditor), [djangocms-frontend](https://github.com/django-cms/djangocms-frontend) and other CMS components/
- Use Django apps for social authentication.
- Override templates in your custom project.