mirror of
https://github.com/QingdaoU/Spirit.git
synced 2024-12-29 16:02:04 +00:00
readme installing
This commit is contained in:
parent
918ca59775
commit
4f8dd8da6f
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user