Home NOC Dashboard
mkdir venv
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python3 manage.py runserver --settings=dsbd.settings
python3 manage.py makemigrations --settings=dsbd.develop_settings
python3 manage.py migrate --settings=dsbd.develop_settings
# initial install
pip3 install PyYAML
python3 manage.py dumpdata --format=yaml dsbd > dsbd/fixtures/data.json --settings=dsbd.develop_settings
python manage.py loaddata --format=yaml dsbd/fixtures/data.json --settings=dsbd.develop_settings