X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ce3795b6c4f878c496b4d46193e3379f8efb077b..2edc7aa5583b2d241b4f18a2b06b2dead36ea8c1:/doc/installation.rst diff --git a/doc/installation.rst b/doc/installation.rst index 3b16bbb32..81ef4def7 100644 --- a/doc/installation.rst +++ b/doc/installation.rst @@ -5,12 +5,11 @@ Setup Requirements ------------ -* `Python 2.7 `_ -* Python requiremets: ``pip install -r requirements.txt`` +* `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 `_) + (see `DBs supported by Django `_) * `Sass `_ >= 3.2 for parsing SCSS stylesheets -* Librarian (bundled as a git submodule, remember to ``git submodule update --init`` * 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 @@ -20,7 +19,7 @@ Running ------- Set up the database with:: - ./manage.py syncdb --migrate + ./manage.py migrate Run the dev server with:: @@ -39,15 +38,8 @@ in your ``localsettings.py``:: Deployment ---------- -Setup your server in fabfile.py and do:: - fab deploy - -Initial deploy will stop and ask you to provide a localsettings.py file. -A sample localsettings.py will be put on your server, as well as -sample configuration for `Nginx `_, -`Gunicorn `_ and -`Supervisord `_. +TODO Publishing books