Automate scripts for XyncNet
Project description
INSTALL
# Create python virtual environment
python3 -m venv venv
# Activate this environment
source venv/bin/activate
# Install dependencies
pip install -r requirements.dev.txt
# Create pg db
createdb --U username -W dbname
## set password for db user
# Copy .env file from sample template
cp .env.sample .env
## set your pg creds in .env file
TEST
pytest
pre-commit
You can done commit
only after pytest
will done success.
Pre-commit script stored in .git/hooks/pre-commit
file; current script is:
#!/bin/sh
pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
xync_scripts-0.0.1.tar.gz
(16.0 kB
view hashes)
Built Distribution
Close
Hashes for xync_scripts-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83e516db17cffe54f9347bea34cecc629bebb996a6f0698439173dd36ae1c031 |
|
MD5 | 80fd862898d485f0eb9a144ae0f8bb93 |
|
BLAKE2b-256 | 4d4e1725be8e0d493a21ccae520b036cb43ffc98218ca3a43b69bb95185eb7f0 |