Go to file
2023-12-16 12:06:05 +01:00
accounts back to the past bcb072f7d9f5f7817d949837219231232160ff11; Chatte 2023-12-16 11:58:50 +01:00
chat back to the past bcb072f7d9f5f7817d949837219231232160ff11; Chatte 2023-12-16 11:58:50 +01:00
frontend J'ai fais n'imp 2023-12-16 12:06:05 +01:00
games add: matchmaking 2023-12-12 12:06:13 +01:00
matchmaking add: matchmaking 2023-12-12 12:06:13 +01:00
profiles fix: fix: + ratio 2023-12-11 15:23:42 +01:00
trancendence merge with Chatte 2023-12-15 20:34:55 +01:00
.gitignore merge with server 2023-12-11 10:57:51 +01:00
manage.py core: reformat file tree 2023-10-25 16:50:05 +02:00
package-lock.json no idea 2023-12-11 10:53:34 +01:00
README.md J'ai fais n'imp 2023-12-16 12:06:05 +01:00
requirements.txt update: requirement 2023-12-13 13:01:51 +01:00

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