From 5726989b6aef90ce440a4d006c4e45c3ea760ac8 Mon Sep 17 00:00:00 2001 From: Yorgo El Moubayed <yelmoubayed@embl.fr> Date: Thu, 4 Mar 2021 05:38:17 +0000 Subject: [PATCH] Add README.md --- README.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..064b0c6 --- /dev/null +++ b/README.md @@ -0,0 +1,29 @@ +### Clone the repository +git clone <repository link> +cd <repository> + +### Create a virtual environment to isolate our package dependencies locally +python3 -m venv env +source env/bin/activate # On Windows use `env\Scripts\activate` + +### Install Django, Django REST framework and neomodel into the virtual environment +~~~ +pip install django +~~~ + +~~~ +pip install djangorestframework +~~~ + +~~~ +pip install neomodel +~~~ + +### Django common command lines +~~~ +python manage.py makemigrations # 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 runserver # This command you'll probably run the most of all commands. It means to run a emulated server on your local computer. +~~~ -- GitLab