Skip to content

MrFacundo/ft_transcendence

Repository files navigation

ft_transcendence

Prerequisites

  • Ensure ports 8080 and 8000 are free on your machine.
  • Docker and Docker Compose should be installed.

Setup

  1. Copy the example environment variables file:
   cp .env.example .env
  1. If needed, update the email and 42's OAuth2 credentials in the .env file.

Running the Project

To start the project, run:

	docker-compose up --build

Check the Makefile for more commands.

Accessing the Application

User creation

  • Users can be created using the python manage.py create_users management command in the backend container.
  • Users can also be created manually through the Django Admin interface. Superuser needs to be created first with the createsuperuser management command.
  • Users can also be created through the frontend interface.
    • Using an email and password. (requires the email credentials to be set in the .env file).
    • Using the 42 OAuth2 login (requires the 42 OAuth2 credentials to be setin the .env file).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published