Simple demo for Rattail Tempmon, using WebSauna
Go to file
Lance Edgar e46b18f674 Add initial schema migration, with basic tempmon table clones
plus expose new tables in the admin
2017-04-01 18:34:01 -05:00
alembic Add initial schema migration, with basic tempmon table clones 2017-04-01 18:34:01 -05:00
hotcooler Add initial schema migration, with basic tempmon table clones 2017-04-01 18:34:01 -05:00
.gitignore Initial commit 2017-04-01 15:17:32 -05:00
CHANGES.rst Initial commit 2017-04-01 15:17:32 -05:00
MANIFEST.in Initial commit 2017-04-01 15:17:32 -05:00
README.rst Initial commit 2017-04-01 15:17:32 -05:00
setup.cfg Initial commit 2017-04-01 15:17:32 -05:00
setup.py Initial commit 2017-04-01 15:17:32 -05:00

This is a Websauna application package for hotcooler.

To run this package you need Python 3.4+, PostgresSQL and Redis.

Installation
============

This installation method assumes you the author of the hotcooler application and wish to develop it. Below are instructions to to install the package to a Python virtual environment using pip command in an editable mode.

Example::

    cd hotcooler  # This is the folder with setup.py file
    virtualenv venv
    source venv/bin/activate

    # Make sure pip itself is up-to-date
    pip install -U pip

    # Install the package and its dependencies to a currently
    # activated virtualenv from the folder with setup.py file
    pip install -e "."

Running the website
===================

Local development machine
-------------------------

Example (OSX / Homebrew)::

    # Create PostgreSQL database
    psql create hotcooler_dev

    # Write table schemas for models
    ws-sync-db hotcooler/conf/development.ini

    # Start web server
    ws-pserve hotcooler/conf/development.ini --reload

Running the test suite
======================

Example::

    # Install testing dependencies
    pip install ".[dev,test]"

    # Create database used for unit testing
    psql create hotcooler_test

    # Run test suite using py.test running
    py.test

More information
================

Please see https://websauna.org/