Skip to content

Commit

Permalink
docs: Use Pipfile.lock and run tests for environment setup (GoogleC…
Browse files Browse the repository at this point in the history
  • Loading branch information
adlersantos authored Mar 3, 2022
1 parent f0806c6 commit db04c54
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,22 @@ We use Pipenv to make environment setup more deterministic and uniform across di
With Pipenv installed, run the following command to install the dependencies:

```bash
pipenv install --dev
pipenv install --ignore-pipfile --dev
```

This uses the `Pipfile.lock` found in the project root and installs all the development dependencies.
This installs dependencies using the specific versions in the `Pipfile.lock` file (instead of the `Pipfile` file which is ignored via `--ignore-pipfile`).

Finally, initialize the Airflow database:

```bash
pipenv run airflow db init
```

To ensure you have a proper setup, run the tests:
```
$ pipenv run python -m pytest -v
```

# Building Data Pipelines

Configuring, generating, and deploying data pipelines in a programmatic, standardized, and scalable way is the main purpose of this repository.
Expand Down

0 comments on commit db04c54

Please sign in to comment.