Skip to content

manti-by/semkov

Repository files navigation

Semkov Gorodok blog

About

Wagtail 5.2.2 Code style: black License

Author: Alexander Chaika manti.by@gmail.com

Source link: https://github.com/manti-by/semkov

Requirements: Docker, Python 3.11, PostgreSQL

Setup development environment

  1. Create and activate virtualenv

    virtualenv .venv
    source .venv/bin/activate
  2. Clone sources and install pip packages

    git clone git@github.com:manti-by/semkov.git .
    pip install -r requirements.txt
  3. Run migration and local dev server

    python manage.py migrate
    python manage.py runserver

NOTICE: Before pushing your changes, run the next commands

make django-check
make check
make test

Run in production

To run app in production mode, clone repo, build image and run it

git clone git@github.com:manti-by/semkov.git .
make build
docker compose up -d
make migrate
make static