install:
	npm install --prefix config/
	npm install --prefix front/
	npm install --prefix back/

lint:
	npm run lint --prefix config/
	npm run lint --prefix front/
	npm run lint --prefix back/

format:
	npm run format --prefix config/
	npm run format --prefix front/
	npm run format --prefix back/

build: export DODO_VOLUME_DATA=/home/gio
build:
	npm run build --prefix config/
	npm run build --prefix front/
	npm run prisma-migrate --prefix back/
	npm run build --prefix back/

run: export DODO_PORT_WEB=8080
run: export DODO_PORT_API=8081
run: export DODO_VOLUME_DATA=/home/gio
run: build
	npm run start:dev --prefix back/

start: export DODO_PORT_WEB=8080
start: export DODO_PORT_API=8081
start: export DODO_VOLUME_DATA=/home/gio
start:
	npm run prisma-migrate --prefix back/
	npm run start:dev --prefix back/
