Go to file
2023-12-28 12:02:39 +01:00
accounts chat functional 2023-12-15 20:32:43 +01:00
chat chat: fix and opti 2023-12-27 16:14:39 +01:00
frontend chat: fix and opti 2023-12-27 16:14:39 +01:00
games game: init: consumer 2023-12-28 12:02:39 +01:00
matchmaking matchmaking: add: clear message if normal closure 2023-12-23 18:47:16 +01:00
profiles block: fix: .exists() 2023-12-28 11:32:49 +01:00
tournament game: init: consumer 2023-12-28 12:02:39 +01:00
transcendence game: init: consumer 2023-12-28 12:02:39 +01:00
.gitignore merge with server 2023-12-11 10:57:51 +01:00
manage.py rename the project 2023-12-23 18:12:13 +01:00
package-lock.json no idea 2023-12-11 10:53:34 +01:00
README.md init: tournament 2023-12-20 19:15:47 +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
python manage.py makemigrations games
python manage.py makemigrations profiles
python manage.py makemigrations chat
python manage.py makemigrations tournament
python manage.py migrate
  • Start the developpement server
python manage.py runserver 0.0.0.0:8000

coc nvim

pip install django-stubs