use DATABASE_URL for node api

This commit is contained in:
sid palas
2023-01-27 12:37:06 -05:00
parent a3de60d264
commit d600c75de5
4 changed files with 5 additions and 105 deletions

View File

@ -1,10 +1,6 @@
.PHONY: run-local
run-local:
PGUSER=postgres \
PGHOST=localhost \
PGPASSWORD=foobarbaz \
PGDATABASE=postgres \
PGPORT=5432 \
DATABASE_URL=postgres://postgres:foobarbaz@localhost:5432/postgres \
node ./src/index.js
.PHONY: build-naive