diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-03-04 22:55:01 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-03-08 10:12:44 +0900 |
| commit | 1e6df136d8202c8adf65948527f4c3e7583b338c (patch) | |
| tree | 7c82476f6bbbc71d72ab7e71e39559eca197fd95 /Makefile | |
| parent | 54316868c3bec1ff9b04643dfe6c13cf56bf3246 (diff) | |
| download | iosdc-japan-2025-albatross-1e6df136d8202c8adf65948527f4c3e7583b338c.tar.gz iosdc-japan-2025-albatross-1e6df136d8202c8adf65948527f4c3e7583b338c.tar.zst iosdc-japan-2025-albatross-1e6df136d8202c8adf65948527f4c3e7583b338c.zip | |
websocket to polling
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -1,9 +1,6 @@ DOCKER_COMPOSE := docker compose -f compose.local.yaml -all: down build reset up - -reset: - echo "UPDATE games SET state = 'waiting', started_at = NULL WHERE game_id = 1;" | make psql-query +all: down build up .PHONY: build build: @@ -49,6 +46,11 @@ sqldef: down ${DOCKER_COMPOSE} up --wait db ${DOCKER_COMPOSE} run --no-TTY tools psqldef < ./backend/schema.sql +.PHONY: asynq +asynq: + ${DOCKER_COMPOSE} up --wait task-db + ${DOCKER_COMPOSE} run tools go run github.com/hibiken/asynq/tools/asynq --uri task-db:6379 dash + .PHONY: init init: build initdb |
