mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 21:24:28 +00:00
10 lines
340 B
Makefile
10 lines
340 B
Makefile
css:
|
|
python -c "import sass; sass.compile(dirname=('sass', 'static/css'), output_style='compressed')"
|
|
|
|
password:
|
|
python -c "import bcrypt; from getpass import getpass; print(bcrypt.hashpw(getpass().encode('utf-8'), bcrypt.gensalt()).decode('utf-8'))"
|
|
|
|
update:
|
|
docker-compose stop
|
|
git pull
|
|
docker-compose up -d --force-recreate --build
|