ft_transcendence/README.md
2023-12-16 12:06:05 +01:00

781 B

BACKEND

Installation

  • Clone the project:
git clone https://git.chauvet.pro/michel/ft_transcendence
cd ft_transcendence
git switch server
  • Create python virtual environnement.
python3 -m venv .env
  • Source the environnement.
source .env/bin/activate
  • Install the requirements
pip install -r requirements.txt
  • Setup database
<<<<<<< HEAD
python manage.py runserver makemigrations profiles
python manage.py migrate profiles
=======
python manage.py makemigrations games
python manage.py makemigrations profiles
python manage.py runserver makemigrations chat
python manage.py migrate
>>>>>>> d03f90367f1fd075e79f4a69d31c5a49b9e53d01
  • Start the developpement server
python manage.py runserver 0.0.0.0:8000