Skip to content

OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.

chore(root): rename docker compose commands

Carl-Gerhard Lindesvärd96a5447f13fa
diff --git a/README.md b/README.md
index 3f0ca4635..23ef771c0 100644
--- a/README.md
+++ b/README.md
@@ -79,7 +79,7 @@ You can find the how to [here](https://docs.openpanel.dev/docs/self-hosting)
## Development
```bash
-pnpm docker
+pnpm dock:up
pnpm codegen
pnpm migrate:deploy # once to setup the db
pnpm dev
diff --git a/package.json b/package.json
index 1ee1d6d28..5be5cb8a2 100644
--- a/package.json
+++ b/package.json
@@ -7,8 +7,9 @@
"packageManager": "[email protected]",
"module": "index.ts",
"scripts": {
- "up": "docker compose up",
- "down": "docker compose down",
+ "dock:up": "docker compose up -d",
+ "dock:down": "docker compose down",
+ "dock:ch": "docker compose exec -it op-ch clickhouse-client -d openpanel",
"db:codegen": "pnpm -r --filter db run codegen",
"codegen": "pnpm db:codegen",
"migrate": "pnpm -r --filter db run migrate",