diff --git a/Makefile b/Makefile index 4b065c82..20bf2d7a 100644 --- a/Makefile +++ b/Makefile @@ -30,3 +30,10 @@ package: clean node tasmoadmin/minify.js tar -zcf ./_releases/tasmoadmin_${BUILD_VERSION}.tar.gz tasmoadmin zip -q -r ./_releases/tasmoadmin_${BUILD_VERSION}.zip tasmoadmin + +dev: + ./.docker/docker.sh prepare + composer install -d tasmoadmin + cd tasmoadmin; npm ci + node tasmoadmin/minify.js + docker-compose build --no-cache && docker-compose up diff --git a/README.md b/README.md index 74f56832..71c297a3 100644 --- a/README.md +++ b/README.md @@ -79,10 +79,7 @@ Provided is a docker-compose setup to ease getting started. Simply run: ```bash -./.docker/docker.sh prepare -composer install -d tasmoadmin -npm install --prefix tasmoadmin -docker-compose up +make dev ``` Then visit http://localhost:8000