The backend for the timetable selector, which is a platform that aims to help students better choose their class schedules by allowing them to see and play with all possible combinations.
Made with ❤️ by NIAEFEUP.
dockerdocker compose
to install docker, take a look on the official website and follow the Get docker section to install it. If you're using windows, make sure to have the wsl installed.
In case you're using linux, after installing docker check the Manage Docker as a non-root user, so you can use docker without the sudo command, which involves creating a user group for docker.
The data is available at the NIAEFEUP drive (Only for NIAEFEUP members):
https://drive.google.com/drive/folders/17vEa8E6kUp3EiIO7f4zYzcua2g-zZKeP?usp=drive_link
You can paste the database.db file in django/tts_be folder.
After you installed docker, go to the folder where you cloned this repository and do:
docker compose buildBefore running docker, you have to create an .env.dev file with required environment variables for the backend to work.
cp .env.example .env.devAnd then you need to set the correct desired values in the .env.dev file.
The .env.dev file is not already on the repository in order to prevent sensitive information to be leaked. This way, the file with default non important values (.env.example) serves as a template, while the real file with important sensitive values is on .gitignore so it is never accidentally uploaded to github with sensitive information.
docker compose up