Skip to content

MyDataTaiwan/logboard

Repository files navigation

mylog14-dashboard

Frontend for government employees to track custodian data, built on Django Framework with Class Views.

Dependencies can be found in requirements.txt

Setup

$ python3 -m pip install Django
$ python3 -m pip install -r requirements.txt

Testing by development server. You need to:

  1. comment-out the SSL session in mylog14Dashboard/settings.py

  2. Change DEBUG to True in mylog14Dashboard/settings.py

$ python3 manage.py makemigrations
$ python3 manage.py migrate
$ python3 manage.py runserver
$ sensible-browser http://localhost:8000

Or for convenience

alias update_mylog14='python3 manage.py makemigrations; python3 manage.py migrate; python3 manage.py runserver';  

WARNING: DASHBOARD Code will be dropped and integrated to applications/archives

Deploy

WIP

$ python3 manage.py collectstatic