2019-01-13 22:35:24 +01:00
..
2019-01-13 22:35:24 +01:00
2019-01-13 22:35:24 +01:00
2019-01-13 22:35:24 +01:00
2019-01-13 22:35:24 +01:00
2019-01-13 22:35:24 +01:00
2019-01-13 22:35:24 +01:00
2019-01-13 22:35:24 +01:00
2019-01-13 22:35:24 +01:00
2019-01-13 22:35:24 +01:00

cd /mnt/d/Dev/Applications/timelaps_api

service postgresql start service apache2 start

Installation

#Prepare database python3 manage.py makemigrations

#Create admin tables python3 manage.py migrate

#Create admin user python3 manage.py createsuperuser --email admin@gmail.com --username admin

#Prepare database for timelaps python3 manage.py makemigrations timelaps

#migrate timelaps python3 manage.py migrate

Exploitation

#Exécuter les tests python3 manage.py test

#Lancement du server python3 manage.py runserver