microblog.pub/Makefile

11 lines
340 B
Makefile
Raw Normal View History

2018-05-18 18:41:41 +00:00
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'))"
2018-05-22 22:41:37 +00:00
update:
docker-compose stop
git pull
docker-compose up -d --force-recreate --build