Go to file
starnakin 56cfd563d7 fix: model, limite length of
tournament.name and winner_id can be null now
2023-12-20 21:11:37 +01:00
accounts chat functional 2023-12-15 20:32:43 +01:00
chat Réarrangement du code; correction css; écriture uniquement du nouveau message 2023-12-19 11:27:18 +01:00
frontend Merge remote-tracking branch 'refs/remotes/origin/server' into server 2023-12-20 19:15:59 +01:00
games fix: model, limite length of 2023-12-20 21:11:37 +01:00
matchmaking add: matchmaking 2023-12-12 12:06:13 +01:00
profiles remove: useless function 2023-12-20 21:10:24 +01:00
tournament fix: model, limite length of 2023-12-20 21:11:37 +01:00
trancendence core: change tournament api url 2023-12-20 21:10:12 +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