X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/2edc7aa5583b2d241b4f18a2b06b2dead36ea8c1..f8237807eed38189cf909c73d37c2b3d1e2d584a:/doc/installation.rst diff --git a/doc/installation.rst b/doc/installation.rst deleted file mode 100644 index 81ef4def7..000000000 --- a/doc/installation.rst +++ /dev/null @@ -1,54 +0,0 @@ -===== -Setup -===== - -Requirements ------------- - -* `Python 3.5-3.7 `_ -* Python requiremets: ``pip install -r requirements/requirements.txt`` -* a library for your database of choice - (see `DBs supported by Django `_) -* `Sass `_ >= 3.2 for parsing SCSS stylesheets -* Librarian has more dependencies if you want to build PDF and MOBI files, - see lib/librarian/README.md -* `Solr `_ server if you want to search - - -Running -------- -Set up the database with:: - - ./manage.py migrate - -Run the dev server with:: - - ./manage.py runserver - -Some tasks (like generating e-books) run in a seperate -Celery process by default, so you'll also need to run:: - - celery -A wolnelektury worker --loglevel=INFO - -Or, if you don't want to run a separate Celery daemon, set this -in your ``localsettings.py``:: - - CELERY_ALWAYS_EAGER = True - - -Deployment ----------- - -TODO - - -Publishing books ----------------- - -Books are represented as XML files. -You can import XML files from a directory by running:: - - ./manage.py importbooks ../books - -Or you can publish a single XML by using publishing form in admin, -or the publishing API.