Spirit/example
2015-11-09 02:29:02 -03:00
..
project settings.prod DEFAULT_FROM_EMAIL default to django's default 2015-11-09 02:29:02 -03: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.