Newer
Older
all: pull sub build push clean
pull:
git pull
sub:
git submodule update --init --recursive
conf:
cp -r ./config/keys ./web
build: conf
docker-compose build
up: build
docker-compose up
push:
docker push cr.unil.ch/icnml_web
docker push cr.unil.ch/icnml_redis
clean:
docker rmi cr.unil.ch/icnml_web
docker rmi cr.unil.ch/icnml_redis
update:
git submodule foreach git pull
-git commit -m "App update"
-git add web/library/MDmisc
-git add web/library/NIST
-git add web/library/PiAnoS
-git add web/library/PMlib
-git add web/library/WSQ
-git commit -m "Lib update"