No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
habitat
plugins
.bowerrc
.gitignore
LICENSE.txt
Procfile
README.md
TODO.md
bower.json
config.py
local_config.py.git
manage.py
requirements.txt
runserver.py
test_app.py

README.md

NOTE: This is a very early stage work in progress

Habitat is an external brain. It does things in response to your interactions with your digital-physical environment using behavior-driven development style tests. (Think self-hosted Google Now meets If This Then That).

It doesn't do much on its own, this app is just the habitat server, you will also need some client apps:

##Examples

Feature: Near a point in space
    Scenario: Near a point in space
        When I am within 100 meters of "[0,0]"
        Then ping "http://example.com/tad-ah"

##Setup

  1. Install mongodb
  2. Install pip and virtualenv
  3. Install bower
  4. Clone this repository:
git clone git@github.com:memespring/habitat.git
  1. Setup virtual environment and install dependancies

    cd habitat
    virtualenv .
    source bin/activate
    pip install -r  requirements.txt
    bower install
    

Running

  1. Start Mongo DB (if it isnt already running):

    mongod
    
  2. Enter virtual environment:

    source bin/activate
    
  3. Start celery worker

    celery -A habitat.celery worker -B -l info
    
  4. Start app

    python runserver.py