dobe / ep2014tutorial

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tweets Tutorial App

This project contains the example application for the Tutorial held at the Europython 2014 in Berlin.

Development Setup

To get a development environment this project uses buildout

Prerequesites:

  • A Java 7 runtime environment
  • Python 3 installed.

Setup:

Run bootstrap.py:

python bootstrap.py

And afterwards run buildout:

./bin/buildout -N

Starting

First start the Crate Datastore:

./bin/crate

Initialize the database schema:

./parts/crate/bin/crash < src/ep2014tutorial/schema.sql

Then start the application:

./bin/app

Using

Go to http://localhost:4200/_plugin/crate-admin/#/tutorial and start the tweet import to add data.

See the latest tweets at http://localhost:8080/latest

The admin interface of the data store is avalable under http://localhost:4200 and the app gets exposed unter http://localhost:8080

Running Tests

The tests are run using the zope.testrunner:

./bin/test

About


Languages

Language:Python 100.0%