Web-site for Learn Python courses in Kyiv, Ukraine
Python JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
learnpython
.gitignore
.travis.yml
Makefile
Procfile
README.rst
babel.cfg
bootstrap.cfg
requirements.txt
runtime.txt

README.rst

learnpython.in.ua

https://secure.travis-ci.org/learnpython/learnpython.in.ua.png

Learn Python web-site.

Requirements

Installation

You just need to bootstrap project, with:

$ make bootstrap

After, all necessary would be created and project will be ready to deploy.

Usage

First, you need to run development web-server or host WSGI application somehow you usually do (maybe with uwsgi or gunicorn). For dev server, execute:

$ make server

By default, this runs server at 4351 port. So, point your browser to http://127.0.0.1:4351/ to see results.

For uwsgi or gunicorn config use:

learnpython.app:app

application notation.

Testing

To run all tests, execute:

$ make test

But, you should customize running tests by specifying one of next targets,

test_selenium:Prepare and run selenium tests
test_splinter:Run splinter tests
test_unit:Run only unit tests
test_windmill:Try to run little windmill tests, could be freezed on teardown