adding runner script
This commit is contained in:
parent
32f8941768
commit
6f8768e149
10
README.md
10
README.md
@ -2,6 +2,16 @@
|
||||
|
||||
## Installation
|
||||
|
||||
### Automated
|
||||
|
||||
Just run the following :
|
||||
|
||||
```bash
|
||||
chmod +x ./run.sh
|
||||
./run.sh
|
||||
```
|
||||
|
||||
### Manual
|
||||
- Clone the project:
|
||||
``` bash
|
||||
git clone https://git.chauvet.pro/michel/ft_transcendence
|
||||
|
11
run.sh
Executable file
11
run.sh
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
python3 -m venv .env
|
||||
source .env/bin/activate
|
||||
pip install -r requirements.txt
|
||||
python manage.py makemigrations games
|
||||
python manage.py makemigrations profiles
|
||||
python manage.py makemigrations chat
|
||||
python manage.py makemigrations tournament
|
||||
python manage.py migrate
|
||||
python manage.py runserver 0.0.0.0:8000
|
Loading…
Reference in New Issue
Block a user