Author: Alexander Chaika manti.by@gmail.com
Source link: https://github.com/manti-by/semkov
Requirements: Python 3.12, PostgreSQL, Docker
-
Create and activate virtualenv
virtualenv .venv source .venv/bin/activate
-
Clone sources and install pip packages
git clone git@github.com:manti-by/semkov.git . pip install -r requirements.txt
-
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
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