doc: add installation man
This commit is contained in:
parent
a0c0d813b6
commit
827743bb96
25
README.md
Normal file
25
README.md
Normal file
@ -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
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user