You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Run `python3 -m venv env` (creates virtual environment called "env")
18
14
2. Run `source env/bin/activate` (activates the virtual environment)
19
15
3. Run `python3 -m pip install -e ".[test]"` (installs the package in develop mode, along with test dependencies)
20
16
4. Run `make test`
21
17
22
-
## Running Locally
18
+
###Running Locally
23
19
24
20
Assuming you have a [local version of PostHog](https://posthog.com/docs/developing-locally) running, you can run `python3 example.py` to see the library in action.
25
21
26
-
## Running the Django Sentry Integration Locally
22
+
###Running the Django Sentry Integration Locally
27
23
28
24
There's a sample Django project included, called `sentry_django_example`, which explains how to use PostHog with Sentry.
29
25
@@ -40,3 +36,11 @@ There's 2 places of importance (Changes required are all marked with TODO in the
40
36
To run things: `make django_example`. This installs the posthog-python library with the sentry-sdk add-on, and then runs the django app.
41
37
Also start the PostHog app locally.
42
38
Then navigate to `http://127.0.0.1:8080/sentry-debug/` and you should get an event in both Sentry and PostHog, with links to each other.
39
+
40
+
### Releasing Versions
41
+
42
+
Updated are released using GitHub Actions: after bumping `version.py` in `master`, go to [our release workflow's page](https://github.com/PostHog/http-mmdb/actions/workflows/release.yml) and dispatch it manually, using workflow from `master`.
0 commit comments