Add more descriptions for setup
This commit is contained in:
parent
28cdd7c3c4
commit
80e56c1702
2 changed files with 16 additions and 1 deletions
12
README.md
12
README.md
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue