mirror of
https://github.com/gabehf/Koito.git
synced 2026-04-23 04:21:51 -07:00
feat: add minutes listened to ui and fix image drop
This commit is contained in:
parent
0042e3f3bd
commit
d84519fa21
11 changed files with 39 additions and 22 deletions
9
Makefile
9
Makefile
|
|
@ -12,6 +12,9 @@ postgres.schemadump:
|
|||
postgres.run:
|
||||
docker run --name koito-db -p 5432:5432 -e POSTGRES_PASSWORD=secret -d postgres
|
||||
|
||||
postgres.run-scratch:
|
||||
docker run --name koito-scratch -p 5433:5432 -e POSTGRES_PASSWORD=secret -d postgres
|
||||
|
||||
postgres.start:
|
||||
docker start koito-db
|
||||
|
||||
|
|
@ -21,9 +24,15 @@ postgres.stop:
|
|||
postgres.remove:
|
||||
docker stop koito-db && docker rm koito-db
|
||||
|
||||
postgres.remove-scratch:
|
||||
docker stop koito-scratch && docker rm koito-scratch
|
||||
|
||||
api.debug:
|
||||
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:
|
||||
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:
|
||||
go test ./... -timeout 60s
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue