Family Django Site
Go to file
ahosking 9d4ce6c413 Switch to Soft-UI admin from Jet
This also adds a bunch of templates and URLS
Start to add routes for user-facing bills pages

Add an Index page that may start to display some great work
2023-04-17 09:35:06 -04:00
.vscode Switch to Soft-UI admin from Jet 2023-04-17 09:35:06 -04:00
api Switch to Soft-UI admin from Jet 2023-04-17 09:35:06 -04:00
.gitignore First Beta! 2021-11-19 21:03:35 -05:00
.python-version Chore: Add Developer Documentation 2023-03-25 11:51:36 -04:00
api-workspace.code-workspace Add Jet Dashboard 2021-12-03 13:39:30 -05:00
README.md Add Theme Updates 2023-04-17 09:32:36 -04:00
requirements.txt Switch to Soft-UI admin from Jet 2023-04-17 09:35:06 -04:00

api

The AHosking.com API

Getting Started

  1. sudo apt install libpq-dev python-dev python3-psycopg2
  2. pip install virtualenv
  3. python3 -m virtualenv .env
  4. Activate environment .\.env\Scripts\activate
  5. export DEBUG=false
  6. docker run --name api-postgres -e POSTGRES_PASSWORD=mysecretpassword -e POSTGRES_USER=api -e POSTGRES_DB=api -p 5432:5432 -d postgres
  7. export DATABASE_HOST=localhost
    export DATABASE_PORT=5432
    export DATABASE_USER=api
    export DATABASE_PASSWORD=mysecretpassword
    export DATABASE_NAME=api
    
  8. python3 manage.py makemigrations
  9. python3 manage.py migrate
  10. python3 manage.py createsuperuser
  11. python manage.py runserver 0.0.0.0:9000

Troubleshooting

pip3 install --upgrade --force-reinstall -r requirements.txt will re-install requirements and upgrade based on requirements.txt

Third-party

Themes and Templates