Skip to main content

Deep release notes helps you manage release notes for your project.

Project description

webpi-web-backend

Development

Install python of the version defined in ../.python-version. You can do that with pyenv.

Create a virtual environment and activate it:

python -m venv .venv
source .venv/bin/activate

Install dependencies:

pip install -e .
pip install -r requirements_dev.txt

Run development server:

FLASK_ENV=development FLASK_APP=webpi/app.py flask run

Unit-tests:

# This will watch for changes
pytest-watch

# Watched tests without coverage
pytest-watch -- --no-cov

# This will run tests only once
pytest

Linter:

flake8 webpi tests setup.py

Formatter:

black webpi

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

webpi-0.0.4.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

webpi-0.0.4-py2.py3-none-any.whl (3.6 kB view hashes)

Uploaded Python 2 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