Install Poetry

This commit is contained in:
Yax 2022-11-06 11:44:41 +01:00
parent de14157613
commit 01ab95ebac
2 changed files with 13 additions and 5 deletions

View file

@ -1,16 +1,18 @@
#!/bin/bash
export POETRY_HOME=/opt/poetry
# clone and build blog
cd /
rm -rf /blog
git clone https://github.com/kianby/blog.git
cd /blog
~/.poetry/bin/poetry install
~/.poetry/bin/poetry run make
$POETRY_HOME/bin/poetry install
$POETRY_HOME/bin/poetry run make
# nginx serve
#nginx -g 'daemon off;'
nginx
# exit on change in stacosys or Git repo
~/.poetry/bin/poetry run python3 monitor.py
$POETRY_HOME/bin/poetry run python3 monitor.py