Serials box is an online service for information related to television series - including cast, crew and personal biographies, plot summaries, and where users can leave comments and write articles about the series.
Series pages and the blog are available to all users, but only registered and logged in users can leave comments on the series and add new articles to the blog. Registered users can add series to their favorites and like articles.
Each registered user has access to a personal account, where he can change his username, add an avatar, write information about himself and set his date of birth. On the profile page, the user has access to articles they like, favorite series, and adding an article. The article can be deleted and edited only by the author of the article and the admin.
User profile page show a user's registration date and username and, optionally, their avatar, bio and age.
- Python 3.9
- Django 3.2.8
- Nginx
- Gunicorn
- PostgreSQL
- Docker, docker-compose
- Yandex.Cloud
Docker and Docker-Compose must be installed.
- Clone the github repository:
$ git clone https://github.com/IlyaKhramtsov/serials-box.git- Enter the project directory:
$ cd serials-box/-
Create an
.envfile in the current directory, add the environment variables there as in the.env.templatefile from this repository. -
Start docker-compose:
$ docker-compose -f docker-compose.yml up -d- Create superuser:
$ docker-compose -f docker-compose.yml run --rm web python manage.py createsuperuser