Skip to content

A django project developed alongside the curriculum of the Yandex's Web Development with Django course. This project is meant to demonstrate all the core Django skills developed throughout the course.

Notifications You must be signed in to change notification settings

soloiaros/django-website-study-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django YL Project

pipeline status

Django version

  • Django 5.2a1

Python version

  • Python 3.13.1

Requirements

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.

Project Setup

Clone The Remote Repository

Navigate to the desired local directory. Example:

cd path/to/your/directory

Clone the repository:

git clone <https://gitlab.crja72.ru/django/2025/spring/course/students/168874-solovjev-yaros-course-1340>

Switch to the Project's Directory

cd 168874-solovjev-yaros-course-1340

Set Up Virtual Environment

For MacOS/Linux:

python3 -m venv venv
source venv/bin/activate

For Windows:

python -m venv venv
call venv/Scripts/activate

Install The Required Modules

pip install -r requirements/prod.txt

Manage Secret Data

For MacOS/Linux:

cp template.env .env

For Windows:

copy template.env .env

After that, change the value of the "DJANGO_SECRET_KEY" constant to your secret key, and configure the remaining constants if needed.

Switch to the Project`s Main Directory

cd lyceum

Compile Localization Files

django-admin compilemessages

Create Database

For MacOS/Linux:

python3 manage.py migrate

For Windows:

python manage.py migrate

Create a Superuser

For MacOS/Linux:

python3 manage.py createsuperuser

For Windows:

python manage.py createsuperuser

After entering this command into your terminal, follow the basic instuctions till the end.

Run a Server

For MacOS/Linux:

python3 manage.py runserver

For Windows:

python manage.py runserver

Database Structure

ER-diagram

This ER-diagram explicitly shows the project's database structure.

About

A django project developed alongside the curriculum of the Yandex's Web Development with Django course. This project is meant to demonstrate all the core Django skills developed throughout the course.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •