Go to file
2023-12-20 19:15:47 +01:00
accounts chat functional 2023-12-15 20:32:43 +01:00
chat Better Css 2023-12-16 16:14:46 +01:00
frontend init: tournament 2023-12-20 19:15:47 +01:00
games add: attribute game state to gamemodel 2023-12-20 19:11:56 +01:00
matchmaking add: matchmaking 2023-12-12 12:06:13 +01:00
profiles fix: profile page 2 2023-12-17 20:29:04 +01:00
tournament init: tournament 2023-12-20 19:15:47 +01:00
trancendence init: tournament 2023-12-20 19:15:47 +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 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