Go to file
2024-02-01 12:58:17 +01:00
accounts accounts: 401 Response in case of invalid login 2024-01-31 12:53:19 +01:00
chat Sous une nuit étoilé, dans la capitale où les habitants font grèves en boucle, un jeune homme du nom d'Adrien, plein d'espoir espérant une douce nuit auprès de sa belle et tendre 'Princesse'. Acheta des capotes premier prix dans la pharmacie non loin de la gare. La suite au prochain commit... 2024-02-01 12:57:32 +01:00
frontend _ 2024-02-01 12:58:17 +01:00
games game: fix: the board is draw with good angle 2024-01-21 14:09:43 +01:00
matchmaking matchmaking: add: clear message if normal closure 2023-12-23 18:47:16 +01:00
profiles Sous une nuit étoilé, dans la capitale où les habitants font grèves en boucle, un jeune homme du nom d'Adrien, plein d'espoir espérant une douce nuit auprès de sa belle et tendre 'Princesse'. Acheta des capotes premier prix dans la pharmacie non loin de la gare. La suite au prochain commit... 2024-02-01 12:57:32 +01:00
tournament fix: be smart 2024-01-15 14:06:10 +01:00
transcendence lang: translation of django's response 2024-01-31 13:54:36 +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 adding runner script 2024-01-20 18:58:32 +01:00
requirements.txt update: requirement 2023-12-13 13:01:51 +01:00
run.sh Ta mere val 2024-01-23 09:57:00 +01:00

BACKEND

Installation

Automated

Just run the following :

chmod +x ./run.sh
./run.sh

Manual

  • Clone the project:
git clone https://git.chauvet.pro/michel/ft_transcendence
cd ft_transcendence
  • 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