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
#### Build & Activate Virtual Environment and install dependencies
13
+
###Installing the connector
13
14
14
-
From this connector directory, create a virtual environment:
15
-
16
-
```
17
-
python -m venv .venv
18
-
```
19
-
20
-
This will generate a virtualenv for this module in `.venv/`. Make sure this venv is active in your
21
-
development environment of choice. To activate it from the terminal, run:
22
-
23
-
```
24
-
source .venv/bin/activate
25
-
pip install -r requirements.txt
15
+
From this connector directory, run:
16
+
```bash
17
+
poetry install --with dev
26
18
```
27
19
28
-
If you are in an IDE, follow your IDE's instructions to activate the virtualenv.
29
-
30
-
Note that while we are installing dependencies from `requirements.txt`, you should only edit `setup.py` for your dependencies. `requirements.txt` is
31
-
used for editable installs (`pip install -e`) to pull in Python dependencies from the monorepo and will call `setup.py`.
32
-
If this is mumbo jumbo to you, don't worry about it, just put your deps in `setup.py` but install using `pip install -r requirements.txt` and everything
33
-
should work as you expect.
34
-
35
-
#### Create credentials
20
+
### Create credentials
36
21
37
22
**If you are a community contributor**, follow the instructions in the [documentation](https://docs.airbyte.io/integrations/sources/posthog)
38
23
to generate the necessary credentials. Then create a file `secrets/config.json` conforming to the `source_posthog/spec.json` file.
@@ -45,31 +30,23 @@ and place them into `secrets/config.json`.
You can run our full test suite locally using [`airbyte-ci`](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/README.md):
86
-
87
63
```bash
88
64
airbyte-ci connectors --name=source-posthog test
89
65
```
@@ -111,4 +87,4 @@ You've checked out the repo, implemented a million dollar feature, and you're re
111
87
4. Make the connector documentation and its changelog is up to date (`docs/integrations/sources/posthog.md`).
112
88
5. Create a Pull Request: use [our PR naming conventions](https://docs.airbyte.com/contributing-to-airbyte/resources/pull-requests-handbook/#pull-request-title-convention).
113
89
6. Pat yourself on the back for being an awesome contributor.
114
-
7. Someone from Airbyte will take a look at your PR and iterate with you to merge it into master.
90
+
7. Someone from Airbyte will take a look at your PR and iterate with you to merge it into master.
| 0.1.9 | 2023-02-13 |[22906](https://github.com/airbytehq/airbyte/pull/22906)| Specified date formatting in specification |
89
-
| 0.1.8 | 2022-11-11 |[18993](https://github.com/airbytehq/airbyte/pull/18993)| connector migrated to low-code, added projects,insights streams, added project based slicing for all other streams |
90
-
| 0.1.7 | 2022-07-26 |[14585](https://github.com/airbytehq/airbyte/pull/14585)| Add missing 'properties' field to event attributes |
| 0.1.9 | 2023-02-13 |[22906](https://github.com/airbytehq/airbyte/pull/22906)| Specified date formatting in specification |
89
+
| 0.1.8 | 2022-11-11 |[18993](https://github.com/airbytehq/airbyte/pull/18993)| connector migrated to low-code, added projects,insights streams, added project based slicing for all other streams |
90
+
| 0.1.7 | 2022-07-26 |[14585](https://github.com/airbytehq/airbyte/pull/14585)| Add missing 'properties' field to event attributes |
0 commit comments