/Estetist

This is my first project using Python/Django, HTML/CSS, JS and Docker - fully featured website for a cosmetologist who selects cosmetics for customers.

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

🧐 Estetist 🧐

Project description

This is my first project using Python/Django, HTML/CSS, JS and Docker - fully featured website for a cosmetologist who selects cosmetics for customers.

📑 Features

  • Main like-landing page
  • Form for clients
  • Blog with comment system
  • Search system for blog
  • Translation (ru/uk)
  • Cache
  • Asynchronous sending of emails

Technologies

  • Python 3
  • Django 4
  • JS ES7
  • HTML, CSS
  • Celery
  • Docker
  • Postgres
  • Redis
  • Memcached

💣Instructions for launching the project💣

To run this project locally, follow these steps:

1️⃣ You should install Docker

2️⃣ Clone this project

git clone https://github.com/PavloPolovyi/Estetist

3️⃣ Create .env file inside 'mysite/mysite' directory and add following lines:

SECRET_KEY = your key with 50 characters length

DEBUG = True

USER = fill with you data

PASSWORD = fill with your data

EMAIL_HOST_PASSWORD = fill with your data and change EMAIL_HOST_USER in settings.py or specify EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'

GOOGLE_RECAPTCHA_SITE_KEY = fill with your data or delete this line, so captcha will not work in client form

GOOGLE_RECAPTCHA_SECRET_KEY = fill with your data or delete this line, so captcha will not work in client form

POSTGRES_USER = fill with your data

POSTGRES_PASSWORD = fill with your data

POSTGRES_DB = fill with your data

4️⃣ Run following command:

docker compose up

5️⃣ Open in browser localhost:8080