Metadata-Version: 2.0
Name: plenario-core
Version: 0.0.10
Summary: abstract bases for plenario
Home-page: https://github.com/UrbanCCD-UChicago/plenario-core
Author: Vince Forgione
Author-email: vforgione@uhicago.edu
License: GPLv3
Keywords: plenario
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Programming Language :: Python :: 3.6
Requires-Python: >=3.6
Requires-Dist: arrow
Requires-Dist: Django (<1.12,>=1.11)
Requires-Dist: django-fsm
Requires-Dist: marshmallow
Requires-Dist: psycopg2

Plenario Core
=============

.. image:: https://travis-ci.org/UrbanCCD-UChicago/plenario-core.svg?branch=master
   :target: https://travis-ci.org/UrbanCCD-UChicago/plenario-core

.. image:: https://coveralls.io/repos/github/UrbanCCD-UChicago/plenario-core/badge.svg?branch=master
   :target: https://coveralls.io/github/UrbanCCD-UChicago/plenario-core?branch=master

Usage
-----

*Coming Soon*


Development
-----------

Fire up a virtualenv and install the dev requirements::

    $ python3.6 -m venv .env
    $ source .env/bin/activate
    $ pip install -r dev-requirements.txt

To run the tests, in a separate terminal pull in the PostGIS docker image and create the database::

    $ docker pull mdillon/postgis
    $ docker run -d -p 5432:5432 mdillon/postgis
    $ docker ps
    ...
    $ docker exec -it {container hash} /bin/bash
    ...
    # su postgres -c psql
    ...
    > create database plenario;

Then all you have to do is run the tests normally::

    $ coverage run manage.py test
    $ coverage report
    $ flake8



