mirror of
https://github.com/gabehf/Koito.git
synced 2026-04-22 20:11:50 -07:00
wip: endpoint working
This commit is contained in:
parent
3b585f748a
commit
6b73f83484
19 changed files with 510 additions and 243 deletions
8
Makefile
8
Makefile
|
|
@ -27,10 +27,10 @@ postgres.remove:
|
|||
postgres.remove-scratch:
|
||||
docker stop koito-scratch && docker rm koito-scratch
|
||||
|
||||
api.debug:
|
||||
api.debug: postgres.start
|
||||
KOITO_ALLOWED_HOSTS=* KOITO_LOG_LEVEL=debug KOITO_CONFIG_DIR=test_config_dir KOITO_DATABASE_URL=postgres://postgres:secret@localhost:5432?sslmode=disable go run cmd/api/main.go
|
||||
|
||||
api.scratch:
|
||||
api.scratch: postgres.run-scratch
|
||||
KOITO_ALLOWED_HOSTS=* KOITO_LOG_LEVEL=debug KOITO_CONFIG_DIR=test_config_dir/scratch KOITO_DATABASE_URL=postgres://postgres:secret@localhost:5433?sslmode=disable go run cmd/api/main.go
|
||||
|
||||
api.test:
|
||||
|
|
@ -45,7 +45,7 @@ client.dev:
|
|||
docs.dev:
|
||||
cd docs && yarn dev
|
||||
|
||||
client.deps:
|
||||
client.deps:
|
||||
cd client && yarn install
|
||||
|
||||
client.build: client.deps
|
||||
|
|
@ -53,4 +53,4 @@ client.build: client.deps
|
|||
|
||||
test: api.test
|
||||
|
||||
build: api.build client.build
|
||||
build: api.build client.build
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue