Find file History
Latest commit 5415ee9 Oct 28, 2017
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
config add demo Oct 27, 2017
motortwit isort Oct 28, 2017
static/css drop unused files Oct 28, 2017
Makefile cleanup Oct 28, 2017
README.rst update readme Oct 28, 2017
docker-compose.yml drop unused databases Oct 27, 2017
setup.py cleanup Oct 28, 2017

README.rst

Motortwit Demo

Example of mongo project using aiohttp, motor and aiohttp_jinja2, similar to flask one. Here I assume you have python3.5 and docker installed.

Installation

Clone repo and install library:

$ git clone git@github.com:aio-libs/aiohttp-demos.git
$ cd aiohttp-demos

Install the app:

$ cd demos/motortwit
$ pip install -e .

Create database for your project:

make docker_start_mongo
make fake_data

Run application:

$ make run

Open browser:

http://127.0.0.1:9001

Requirements