mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-11-15 03:04:28 +00:00
Update the Makefile
This commit is contained in:
parent
4a882fb7ba
commit
2a9de02ecf
1 changed files with 1 additions and 3 deletions
4
Makefile
4
Makefile
|
@ -1,8 +1,5 @@
|
||||||
PYTHON=python
|
PYTHON=python
|
||||||
|
|
||||||
css:
|
|
||||||
$(PYTHON) -c "import sass; sass.compile(dirname=('sass', 'static/css'), output_style='compressed')"
|
|
||||||
|
|
||||||
password:
|
password:
|
||||||
$(PYTHON) -c "import bcrypt; from getpass import getpass; print(bcrypt.hashpw(getpass().encode('utf-8'), bcrypt.gensalt()).decode('utf-8'))"
|
$(PYTHON) -c "import bcrypt; from getpass import getpass; print(bcrypt.hashpw(getpass().encode('utf-8'), bcrypt.gensalt()).decode('utf-8'))"
|
||||||
|
|
||||||
|
@ -11,6 +8,7 @@ docker:
|
||||||
docker build . -t microblogpub:latest
|
docker build . -t microblogpub:latest
|
||||||
|
|
||||||
reload-fed:
|
reload-fed:
|
||||||
|
docker build . -t microblogpub:latest
|
||||||
docker-compose -p instance2 -f docker-compose-tests.yml stop
|
docker-compose -p instance2 -f docker-compose-tests.yml stop
|
||||||
docker-compose -p instance1 -f docker-compose-tests.yml stop
|
docker-compose -p instance1 -f docker-compose-tests.yml stop
|
||||||
WEB_PORT=5006 CONFIG_DIR=./tests/fixtures/instance1/config docker-compose -p instance1 -f docker-compose-tests.yml up -d --force-recreate --build
|
WEB_PORT=5006 CONFIG_DIR=./tests/fixtures/instance1/config docker-compose -p instance1 -f docker-compose-tests.yml up -d --force-recreate --build
|
||||||
|
|
Loading…
Reference in a new issue