Skip to content

vpasquier/sas-backend-django

Repository files navigation

Backend

Build and Run

  • poetry shell
  • export CUSTOM_DEBUG_FLAG=True
  • python manage.py runserver

Model updates

If first time to use or models change:

  • python manage.py makemigrations
  • python manage.py migrate

URLs

Databases

  • open db.sqlite3
  • Or use Postgres

Diagram Generator

python manage.py graph_models -a -o myapp_models.png to create UML Data Model from the Django Models

Docker

  • docker build -t sas-backend .
  • docker run -p 8000:8000 sas-backend

About

Backend in Django

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published