#Viradjango โ๏ธ ๐
Location | Content |
---|---|
/backend |
Django Project & Backend Config |
/backend/api |
Django App (/api ) |
/src |
Vue App . |
/src/main.js |
JS Application Entry Point |
/public/index.html |
Html Application Entry Point (/ ) |
/public/static |
Static Assets |
/dist/ |
Bundled Assets Output (generated at yarn build |
Before getting started you should have the following installed and running:
- Python 3 - instructions
- Pipenv - instructions
Setup
$ pipenv install --dev && pipenv shell
$ python manage.py migrate
$ python manage.py loaddata
$ python manage.py runserver
appcc contains the data link for the chart
- Set
ALLOWED_HOSTS
onbackend.settings.prod
python manage.py runserver --settings=backend.settings.prod 0.0.0.0:8000