-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
include installation from wheel file steps in readme
- Loading branch information
Showing
3 changed files
with
33 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,3 +26,14 @@ information on using pull requests. | |
|
||
This project follows [Google's Open Source Community | ||
Guidelines](https://opensource.google/conduct/). | ||
|
||
## Development environment | ||
|
||
Clone repo locally and install via pip: | ||
|
||
``` | ||
git clone [email protected]:GoogleCloudPlatform/professional-services-data-validator.git | ||
cd professional-services-data-validator/ | ||
python -m pip install --upgrade pip | ||
python -m pip install . | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,19 +55,32 @@ bq mk --table \ | |
|
||
The Data Validation tooling requires Python 3.6+. | ||
|
||
Create and activate a new virtual environment to sandbox the tool and its | ||
dependencies from your system installation of Python. | ||
|
||
``` | ||
python3.6 -m venv venv | ||
source venv/bin/activate | ||
``` | ||
|
||
Download and install the Python Wheel package file corresponding to the | ||
latest release from | ||
[GitHub](https://github.com/GoogleCloudPlatform/professional-services-data-validator/releases) | ||
or Google Drive. | ||
|
||
``` | ||
python -m pip install ~/Downloads/pso_data_validator-0.1.0-py3-none-any.whl | ||
``` | ||
# Clone repo locally or install via pip | ||
git clone [email protected]:GoogleCloudPlatform/professional-services-data-validator.git | ||
cd professional-services-data-validator/ | ||
python -m pip install --upgrade pip | ||
python -m pip install . | ||
|
||
# NOTE: If you require Teradata and have a license. | ||
If you require Teradata and have a license, install the `teradatasql` package. | ||
|
||
``` | ||
python -m pip install teradatasql | ||
``` | ||
|
||
After installing the Data Validation package you will | ||
have access to the `data-validation -h` tool on your CLI. | ||
have access to the `data-validation -h` or `python -m data_validation -h` | ||
tool on your CLI. | ||
|
||
#### Running CLI Validations | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters