changed deployment
This commit is contained in:
parent
045f0b7cf2
commit
ea4e057b02
5 changed files with 16 additions and 7 deletions
4
Makefile
4
Makefile
|
|
@ -54,13 +54,13 @@ migrate-down:
|
|||
$(GOOSE) -dir migrations postgres "host=localhost user=go_guess password=go_guess dbname=go_guess port=5432 sslmode=disable search_path=ypto" down
|
||||
|
||||
seed:
|
||||
cd backend && DATABASE_URL="$(DATABASE_URL)&search_path=nmbs,public" APP_ENV="$${APP_ENV:-development}" go run ./cmd/seed
|
||||
cd backend && DATABASE_URL="$(DATABASE_URL)&search_path=ypto,public" APP_ENV="$${APP_ENV:-development}" go run ./cmd/seed
|
||||
|
||||
backend:
|
||||
cd backend && DATABASE_URL="$(DATABASE_URL)" JWT_SECRET="$(JWT_SECRET)" go run ./cmd/api
|
||||
|
||||
frontend:
|
||||
cd frontend && npm run dev
|
||||
cd frontend && npm run dev --host
|
||||
|
||||
frontend-install:
|
||||
cd frontend && npm ci
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue