adding runner script

This commit is contained in:
Kbz-8 2024-01-20 18:57:58 +01:00
parent 32f8941768
commit 6f8768e149
2 changed files with 21 additions and 0 deletions

View File

@ -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
View 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