Archived
1

feat: Сборка и запуск

This commit is contained in:
2024-05-20 17:54:32 +03:00
parent dbe96ea852
commit 0b251c39a6
19 changed files with 372 additions and 0 deletions

19
Makefile Normal file
View File

@@ -0,0 +1,19 @@
#!make
setup-venv:
python -m venv .venv
setup-deps:
source .venv/bin/activate && pip install -r requirements.txt
compile:
source .venv/bin/activate && sphinx-build -M html source build
nginx-up:
podman-compose -f compose.dev.yml --project "ss14-docs" up -d
nginx-down:
podman-compose -f compose.dev.yml --project "ss14-docs" down
push:
cd build/html && rsync -zhr * 'dedic2:/var/www/html/docs/ss14/'