X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/2c968d7bbf97b820439c6a997de08cc3411abb07..f8237807eed38189cf909c73d37c2b3d1e2d584a:/doc/installation.rst?ds=sidebyside diff --git a/doc/installation.rst b/doc/installation.rst deleted file mode 100644 index da0a9a83c..000000000 --- a/doc/installation.rst +++ /dev/null @@ -1,59 +0,0 @@ -===== -Setup -===== - -Requirements ------------- - -* `Python 2.6+ `_ -* Everyting from the ``requirements.txt`` file -* a library for your database of choice - (see `DBs supported by Django `_) -* `puLucene `_ for search -* Librarian dependencies, see lib/librarian/README.md - - -Installation ------------- -Installing database:: - - cd wolnelektury - ./manage.py syncdb - ./manage.py migrate - - -Running -------- - -You can run the server with:: - - ./manage.py runserver - -If you want to run lengthy tasks (like generating e-book files) in a seperate -Celery process (this is the default), you'll also need to run: - - ./manage.py celeryd --loglevel=INFO - -If you don't want to run a separate Celery daemon, make sure you set this -option in your ``localsettings.py``:: - - CELERY_ALWAYS_EAGER = True - - -Deployment ----------- -Setup your server in fabfile.py and do:: - - fab setup - -Aside from uploading a current (git's HEAD) version of the app this will also -download all dependencies into a `virtualenv `_, -create a VHost and WSGI files for running with Apache and mod_wsgi, and -a celery config file for `supervisord `_. - -To deploy a new version into an existing setup, do: - - fab deploy - -This will also check for new dependencied, migrate your app and restart the -WSGI server and Celery under supervisord.