Spirit/example
Esteban Castro Borsani 2340242d43 Feature/rate limit own cache 120 (#121)
* core.ratelimit validate cache config

* tests clear all caches

* settings set ST_RATELIMIT_CACHE to spirit_rl_cache

* core.utils deprecations

* tests deprecations

* core.ratelimit get_fixed window depreaction warning when period is 0

* core.ratelimit tests

* topic.private renamed test
2016-05-20 01:41:22 +02:00
..
project Feature/rate limit own cache 120 (#121) 2016-05-20 01:41:22 +02:00
__init__.py travis 2014-11-27 19:44:10 -03:00
manage.py manage settings dev 2015-04-10 22:42:57 -03:00
README.md readme installation 2015-10-20 22:23:59 -03:00

#Running the example application

Assuming you use virtualenv, follow these steps to download and run the Spirit example application in this directory:

$ git clone https://github.com/nitely/Spirit.git
$ cd Spirit
$ virtualenv venv
$ source ./venv/bin/activate
$ pip install .
$ cd example
$ python manage.py spiritinstall
$ python manage.py runserver

Visit http://127.0.0.1:8000/

This will run using the developer settings, which are not suitable for production environments.

On production, you should create a prod_local.py, import the production settings from .prod import * and overwrite settings such as SECRET_KEY, DATABASES and ALLOWED_HOSTS.

You should run Spirit on a real web server. ie: gunicorn + Nginx.

An email server is required, you can host your own (ie: exim), or hire an external service provider (ie: Mandrill).

You will need to setup a search engine, Spirit is configured to work with Woosh by default.