Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions contents/handbook/engineering/ee-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,14 @@ Currently for internal use only.
- Tests:
- All the same, except skip `DEBUG=1` in the env settings.
- Set as the "target" in run configuration `ee/clickhouse`

### Running everything but ClickHouse locally

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh I think the section above here works, I think it's just a case of adding /etc/host instructions to that?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They are sort of different, since now postgres & redis are running locally as well? And ClickHouse is the only thing in docker

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, more importantly, since the above section also assumes plugin server is running inside docker, it doesn't face this specific issue at all.

- Follow the [local development setup without Docker](/docs/developing-locally)
- Run `docker-compose -f ee/docker-compose.ch.yml up clickhouse`
Comment thread
mariusandra marked this conversation as resolved.
- In `/etc/hosts`, add a line with `127.0.0.1 kafka clickhouse`
- Set environment variables:
- `export PRIMARY_DB=clickhouse`
- `export CLICKHOUSE_SECURE=False`
- `export KAFKA_ENABLED=true`
- `export KAFKA_HOSTS=localhost:9092`
- Run PostHog: `./bin/start`