biommap/Makefile

30 lines
794 B
Makefile
Raw Permalink Normal View History

2021-03-26 08:11:10 +00:00
GEONATURE_CITIZEN_TAG = 0.99.1-dev
2021-03-26 10:55:50 +00:00
.PHONY: start init dev
2021-03-26 08:11:10 +00:00
2021-04-21 08:37:40 +00:00
all:
echo "please specify target"
2021-03-26 08:11:10 +00:00
dev: init
2021-04-21 08:37:40 +00:00
docker-compose up -d
docker-compose exec citizen install/install_app.sh
2021-03-26 08:11:10 +00:00
xdg-open http://localhost:8080
init: vendor/GeoNature-citizen
git submodule update --init --recursive
vendor/GeoNature-citizen:
-mkdir -p vendor
git submodule add https://github.com/Champs-Libres/GeoNature-citizen.git vendor/GeoNature-citizen
git commit -m "added submodule GeoNature-citizen"
#cd $@ && git checkout $(GEONATURE_CITIZEN_TAG)
doc:
cd vendor/GeoNature-citizen/docs && make html
xdg-open $(shell pwd)/vendor/GeoNature-citizen/docs/_build/html/index.html
clean:
2021-04-21 08:37:40 +00:00
docker stop biommap_citizen
docker rm biommap_citien
docker inspect -f '{{ .Mounts }}' biommap_citizen_1
2021-03-26 08:11:10 +00:00
docker volume prune