chore: improve dev:reset and add ngrok to flox (#41463)

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Matt Brooker
2025-11-13 13:05:37 -05:00
committed by GitHub
parent 95f9d56355
commit 452cb5794a
2 changed files with 8 additions and 8 deletions

View File

@@ -45,6 +45,7 @@ cmake = { pkg-path = "cmake", version = "3.31.5", pkg-group = "cmake" }
sqlx-cli = { pkg-path = "sqlx-cli", version = "0.8.3" } # sqlx
postgresql = { pkg-path = "postgresql_14" } # psql
ffmpeg.pkg-path = "ffmpeg"
ngrok = { pkg-path = "ngrok" }
# Set environment variables in the `[vars]` section. These variables may not
# reference one another, and are added to the environment without first

View File

@@ -86,12 +86,6 @@ core:
dev:up:
description: Start full PostHog dev stack via mprocs
hidden: true
dev:setup:
cmd: python manage.py setup_dev
description: Initialize local development environment (one-time setup)
services:
- postgresql
- clickhouse
dev:demo-data:
cmd: python manage.py generate_demo_data
description: Generate demo data for local testing
@@ -100,14 +94,14 @@ core:
- clickhouse
dev:reset:
steps:
- docker:services:down
- docker:services:remove
- docker:services:up
- check:postgres
- check:clickhouse
- migrations:run
- dev:demo-data
- migrations:sync-flags
description: Full reset - stop services, migrate, load demo data, sync flags
description: Full reset - wipe volumes, migrate, load demo data, sync flags
health_checks:
check:clickhouse:
bin_script: check_clickhouse_up
@@ -272,6 +266,11 @@ docker:
description: Stop Docker infrastructure services
services:
- docker
docker:services:remove:
cmd: docker compose -f docker-compose.dev.yml down -v
description: Stop Docker infrastructure services and remove all volumes (complete wipe)
services:
- docker
docker:deprecated:
bin_script: docker
description: '[DEPRECATED] Use `hogli start` instead'