From 596f474123ee84c2f777a1fa17eae76de3644dc5 Mon Sep 17 00:00:00 2001
From: Yorgo El Moubayed <yelmoubayed@embl.fr>
Date: Fri, 12 Mar 2021 00:56:42 +0000
Subject: [PATCH] Update README.md

---
 README.md | 28 +++++++++++++++++++++-------
 1 file changed, 21 insertions(+), 7 deletions(-)

diff --git a/README.md b/README.md
index 98bae6c..a080795 100644
--- a/README.md
+++ b/README.md
@@ -8,29 +8,43 @@ cd <repository>
 ~~~
 python3 -m venv env 
 ~~~
-
 ~~~
-source env/bin/activate  # On Windows use `env\Scripts\activate`    
+source env/bin/activate #On Linux and MacOS  
 ~~~
-
-### Install Django, Django REST framework and neomodel into the virtual environment
 ~~~
-pip install django
+env\Scripts\activate #On Windows    
 ~~~
+
+### Install requirements
 ~~~
-pip install djangorestframework
+pip install -r requirements.txt
 ~~~
+
+### To add new requirements if needed 
 ~~~
-pip install neomodel
+pip freeze > requirements.txt
 ~~~
 
 ### Django common command lines
 
+#### Create constraintes
+~~~
+python manage.py install_labels 
+~~~
+
+#### Track models changes
 When you make changes to your models, your database needs to understand how these changes might affect the database. This command automatically makes files that document these changes.
 ~~~
 python manage.py makemigrations
 ~~~
+
+#### Run API server
 This command you'll probably run the most of all commands. It means to run a emulated server on your local computer.
 ~~~
 python manage.py runserver
 ~~~
+
+#### Open Django's Python shell
+~~~
+python manage.py shell
+~~~
-- 
GitLab