Metadata-Version: 2.1
Name: webpi
Version: 0.0.4
Summary: Deep release notes helps you manage release notes for your project.
Home-page: https://github.com/urbas/webpi
Author: Matej Urbas
Author-email: matej.urbas@gmail.com
License: MIT license
Keywords: webpi
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Description-Content-Type: text/markdown
Requires-Dist: flask (>=1)
Requires-Dist: Flask-Login (>=0.4.1)
Requires-Dist: pyyaml (>=5.3)

# webpi-web-backend

## Development
Install python of the version defined in [`../.python-version`](../.python-version). You can do that with [pyenv].

Create a virtual environment and activate it:
```bash
python -m venv .venv
source .venv/bin/activate
```

Install dependencies:
```bash
pip install -e .
pip install -r requirements_dev.txt
```

Run development server:
```bash
FLASK_ENV=development FLASK_APP=webpi/app.py flask run
```

Unit-tests:
```bash
# This will watch for changes
pytest-watch

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

# This will run tests only once
pytest
```

Linter:
```bash
flake8 webpi tests setup.py
```

Formatter:
```bash
black webpi
```


[pyenv]: https://github.com/pyenv/pyenv

