Follow these steps to set up the project and ensure it runs correctly:
Use the 42 wizard
tool to install Docker on your system.
Modify the paths in the docker-compose.yml
file to match your project structure:
Update the volume paths to point to your frontend directory:
volumes:
- /path/to/your/frontend:/var/www/html/
Update the volume paths to point to your backend directory:
volumes:
- /path/to/your/backend:/api/
Navigate to Settings > API > REGISER A NEW APP
Copy the UID and paste it into the .env file under CLIENT_UID.
Copy the Secret and paste it into the .env file under CLIENT_SECRET
Redirect Uri: https://your-machine-ip/api/auth/callback/