Skip to content

🎥 Manage your online cinema with ease using the Cinemax Online Cinema Admin Panel 🎬

Notifications You must be signed in to change notification settings

temirovazat/cinemax-admin-panel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cinemax Admin Panel

python dockerfile lint code style tests

Description

The goal of this project is to implement an administrator interface for uploading movies and editing their information. For this purpose, an administrative panel was developed based on the Django framework. PostgreSQL is used as the database. The project is prepared for deployment in a production environment via the NGINX web server. Postman is used to check the API's functionality.

Technologies

Python Django PostgreSQL NGINX Gunicorn Postman Docker

How to run the project:

Clone the repository and navigate to the /infra directory:

git clone https://github.com/temirovazat/cinemax-admin-panel.git
cd cinemax-admin-panel/infra/

Create a .env file and add project settings:

nano .env
# PostgreSQL
POSTGRES_DB=cinemax_database
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_HOST=postgres
POSTGRES_PORT=5432

# Django
DJANGO_SUPERUSER_USERNAME=admin
DJANGO_SUPERUSER_EMAIL=admin@mail.ru
DJANGO_SUPERUSER_PASSWORD=1234
DJANGO_ALLOWED_HOSTS=localhost,127.0.0.1,[::1],django
DJANGO_SECRET_KEY=django-insecure-_o)z83b+i@jfjzbof_jn9#%dw*5q2yy3r6zzq-3azof#(vkf!#

Deploy and run the project in containers:

docker-compose up

Access the admin panel and enter the login (admin) and password (1234):

http://127.0.0.1/admin

About

🎥 Manage your online cinema with ease using the Cinemax Online Cinema Admin Panel 🎬

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published