Token authorization is ready for MVP
All checks were successful
ci/woodpecker/push/build Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
Reviewed-on: #8
This commit was merged in pull request #8.
This commit is contained in:
15
Taskfile.yml
15
Taskfile.yml
@@ -13,6 +13,11 @@ tasks:
|
||||
cmd: go build -o ./build/softplayer
|
||||
silent: true
|
||||
|
||||
unit:
|
||||
desc: Run unit tests
|
||||
cmd: go test ./...
|
||||
silent: true
|
||||
|
||||
run-migrations-dev:
|
||||
desc: Execute database migrations
|
||||
env:
|
||||
@@ -27,7 +32,15 @@ tasks:
|
||||
SOFTPLAYER_DB_CONNECTION_STRING: postgres://softplayer:qwertyu9@localhost:30432/softplayer?sslmode=disable
|
||||
SOFTPLAYER_REDIS_HOST: localhost:30379
|
||||
cmd: go run main.go server --dev-mode --reflection
|
||||
|
||||
psql:
|
||||
desc: Connect to the dev database
|
||||
env:
|
||||
PGDATABASE: softplayer
|
||||
PGUSER: softplayer
|
||||
PGPORT: "30432"
|
||||
PGHOST: localhost
|
||||
PGPASSWORD: qwertyu9
|
||||
cmd: psql
|
||||
deploy-local-env:
|
||||
desc: Run a kind cluster and deploy deps
|
||||
deps:
|
||||
|
||||
Reference in New Issue
Block a user