Metadata-Version: 2.1
Name: yhttp-dbmanager
Version: 2.6.2
Summary: Database manager command line interface and API for yhttp.
Home-page: http://github.com/yhttp/yhttp-dbmanager
Author: Vahid Mardani
Author-email: vahid.mardani@gmail.com
License: MIT
Classifier: Environment :: Console
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: Other/Proprietary License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Software Development
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Application
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: yhttp<5,>=3.5.2
Requires-Dist: dbmanager
Requires-Dist: psycopg2

# Dependencies
install `postgreslq` brefore use of this project.


## Contribution

### Prepare

Create and grant `postgres` role with `createdb` permission:
```bash
echo "CREATE USER ${USER} WITH CREATEDB" | sudo -u postgres psql
# Or
echo "ALTER USER ${USER} CREATEDB" | sudo -u postgres psql
```

Create virtual environment:
```bash
make venv
```

Install this project as editable mode and all other development dependencies:
```bash
make env
```

### Tests
Execute all tests:
```bash
make test
```

Execute all tests and report coverage result:
```bash
make cover
make cover-html
```

### Virtualenv
```bash
source ./activate.sh
```
