readme installing

This commit is contained in:
nitely 2014-06-08 21:11:01 -03:00
parent 918ca59775
commit 4f8dd8da6f

View File

@ -33,21 +33,20 @@ Check out the [example](https://github.com/nitely/Spirit/tree/master/example) pr
In short:
Add `spirit`, `djconfig` and `haystack` to your *INSTALLED_APPS*
Add `url(r'^', include('spirit.urls', namespace="spirit", app_name="spirit")),` to your *urls.py*
Add `from spirit.settings import *` to the top of your *settings.py* file,
otherwise you will have to setup all django's related constants (Middlewares, Login_url, etc)
otherwise you will have to setup all django's related constants (Installed_apps, Middlewares, Login_url, etc)
Run:
python pip install -r requirements.txt
pip install -r requirements.txt
python manage.py syncdb
python manage.py loaddata spirit_init
python manage.py createcachetable spirit_cache
python manage.py collectstatic
> *Note:*
> **Note:**
>
> You will need to setup a search engine,
> Spirit is configured to work with [Woosh](https://bitbucket.org/mchaput/whoosh/wiki/Home) by default.