- Django 5.2a1
- Python 3.13.1
The requirements are stored in the "requirements" folder in the root directory and split into three different files: prod.txt, test.txt, dev.txt. Use a proper requirements file according to the names of the files.
Navigate to the desired local directory. Example:
cd path/to/your/directoryClone the repository:
git clone <https://gitlab.crja72.ru/django/2025/spring/course/students/168874-solovjev-yaros-course-1340>cd 168874-solovjev-yaros-course-1340For MacOS/Linux:
python3 -m venv venv
source venv/bin/activateFor Windows:
python -m venv venv
call venv/Scripts/activatepip install -r requirements/prod.txtFor MacOS/Linux:
cp template.env .envFor Windows:
copy template.env .envAfter that, change the value of the "DJANGO_SECRET_KEY" constant to your secret key, and configure the remaining constants if needed.
cd lyceumdjango-admin compilemessagesFor MacOS/Linux:
python3 manage.py migrateFor Windows:
python manage.py migrateFor MacOS/Linux:
python3 manage.py createsuperuserFor Windows:
python manage.py createsuperuserAfter entering this command into your terminal, follow the basic instuctions till the end.
For MacOS/Linux:
python3 manage.py runserverFor Windows:
python manage.py runserverThis ER-diagram explicitly shows the project's database structure.
