Reformat du readme

This commit is contained in:
bglacial 2019-01-13 22:47:45 +01:00
parent 47d8a973e7
commit ae17f819bc

View File

@ -1,33 +1,31 @@
cd /mnt/d/Dev/Applications/timelaps_api
service postgresql start
service apache2 start
#
# Installation
#
#Prepare database
##Prepare database
python3 manage.py makemigrations
#Create admin tables
##Create admin tables
python3 manage.py migrate
#Create admin user
##Create admin user
python3 manage.py createsuperuser --email admin@gmail.com --username admin
#Prepare database for timelaps
##Prepare database for timelaps
python3 manage.py makemigrations timelaps
#migrate timelaps
##migrate timelaps
python3 manage.py migrate
#
# Exploitation
#
#Exécuter les tests
##Exécuter les tests
python3 manage.py test
#Lancement du server
##Lancement du server
cd /mnt/d/Dev/Applications/timelaps_api
service postgresql start
service apache2 start
python3 manage.py runserver