From 827743bb96e23e316824a13351a50c8dc9300e04 Mon Sep 17 00:00:00 2001 From: starnakin Date: Tue, 31 Oct 2023 21:26:17 +0100 Subject: [PATCH] doc: add installation man --- README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..9d59603 --- /dev/null +++ b/README.md @@ -0,0 +1,25 @@ +# BACKEND + +## Installation + +- Clone the project: +``` bash +git clone https://git.chauvet.pro/michel/ft_transcendence +cd ft_transcendence +``` +- Create python virtual environnement. +``` bash +python3 -m venv .env +``` +- Source the environnement. +``` bash +source .env/bin/activate +``` +- Install the requirements +``` bash +pip install -r requirements.txt +``` +- Start the developpement server +``` +python manage.py runserver 0.0.0.0:8000 +``` \ No newline at end of file