fix: 🔨 make dev stage app independant
This commit is contained in:
parent
a3879021e4
commit
b7e114f131
10
Makefile
10
Makefile
@ -159,11 +159,11 @@ appstore:
|
|||||||
# Start a nextcloud server on Docker to kickstart developement
|
# Start a nextcloud server on Docker to kickstart developement
|
||||||
.PHONY: dev
|
.PHONY: dev
|
||||||
dev: build
|
dev: build
|
||||||
docker stop repod || true
|
docker stop $(app_name) || true
|
||||||
docker rm repod || true
|
docker rm $(app_name) || true
|
||||||
docker build -t repod .
|
docker build -t $(app_name) .
|
||||||
docker run -itd --rm --name repod -v $(CURDIR):/var/www/html/apps/repod -p 80:80 repod
|
docker run -itd --rm --name $(app_name) -v $(CURDIR):/var/www/html/apps/$(app_name) -p 80:80 $(app_name)
|
||||||
npm run watch
|
npm run watch || docker stop $(app_name)
|
||||||
|
|
||||||
# Generate translations
|
# Generate translations
|
||||||
.PHONY: l10n
|
.PHONY: l10n
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"name": "repod",
|
"name": "repod",
|
||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "vue-tsc && vite build",
|
"build": "vite build",
|
||||||
"dev": "vite --mode development build",
|
"dev": "vite --mode development build",
|
||||||
"watch": "vite --mode development build --watch",
|
"watch": "vite --mode development build --watch",
|
||||||
"lint": "vue-tsc && eslint src",
|
"lint": "vue-tsc && eslint src",
|
||||||
|
Loading…
Reference in New Issue
Block a user