12
mise.toml
12
mise.toml
@@ -8,8 +8,8 @@ _.file = ".env"
|
||||
|
||||
[tasks.develop]
|
||||
alias = ["d", "dev"]
|
||||
description = "Start the forage development server"
|
||||
depends = ["tailwind:build"]
|
||||
description = "Start the forage development server with postgres"
|
||||
depends = ["tailwind:build", "local:up"]
|
||||
run = "cargo run -p forage-server"
|
||||
|
||||
[tasks.build]
|
||||
@@ -87,7 +87,7 @@ run = "docker compose -f templates/docker-compose.yaml logs -f"
|
||||
|
||||
[tasks."db:shell"]
|
||||
description = "Connect to local postgres"
|
||||
run = "psql postgresql://forageuser:foragepassword@localhost:5432/forage"
|
||||
run = "psql postgresql://forageuser:foragepassword@localhost:5433/forage"
|
||||
|
||||
[tasks."db:migrate"]
|
||||
description = "Run database migrations"
|
||||
@@ -109,6 +109,12 @@ run = "npx @tailwindcss/cli -i static/css/input.css -o static/css/style.css --mi
|
||||
description = "Watch and rebuild tailwind CSS"
|
||||
run = "npx @tailwindcss/cli -i static/css/input.css -o static/css/style.css --watch"
|
||||
|
||||
# ─── Testing Tools ────────────────────────────────────────────────
|
||||
|
||||
[tasks."test:webhook"]
|
||||
description = "Start a webhook test server on port 9876"
|
||||
run = "python3 tools/webhook-test-server.py"
|
||||
|
||||
# ─── Forest Commands ───────────────────────────────────────────────
|
||||
|
||||
[tasks."forest:run"]
|
||||
|
||||
Reference in New Issue
Block a user