Skip to main content

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 .'[dev]'

# 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


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.2.tar.gz (16.1 kB view hashes)

Uploaded Source

Built Distribution

xync_scripts-0.0.2-py3-none-any.whl (14.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page