mirror of
https://github.com/pretix/pretix.git
synced 2026-05-26 18:43:59 +00:00
Fix errors in install documentation
This commit is contained in:
@@ -100,8 +100,8 @@ Fill the configuration file ``/etc/pretix/pretix.cfg`` with the following conten
|
|||||||
sessions=true
|
sessions=true
|
||||||
|
|
||||||
[celery]
|
[celery]
|
||||||
backend=redis://127.0.0.1?virtual_host=1
|
backend=redis://127.0.0.1/1
|
||||||
broker=redis://127.0.0.1?virtual_host=2
|
broker=redis://127.0.0.1/2
|
||||||
|
|
||||||
See :ref:`email configuration <mail-settings>` to learn more about configuring mail features.
|
See :ref:`email configuration <mail-settings>` to learn more about configuring mail features.
|
||||||
|
|
||||||
@@ -119,7 +119,10 @@ python installation::
|
|||||||
We now install pretix, its direct dependencies and gunicorn. Replace ``mysql`` with ``postgres`` in the following
|
We now install pretix, its direct dependencies and gunicorn. Replace ``mysql`` with ``postgres`` in the following
|
||||||
command if you're running PostgreSQL::
|
command if you're running PostgreSQL::
|
||||||
|
|
||||||
(venv)$ pip install "pretix[mysql]" gunicorn
|
(venv)$ pip3 install "pretix[mysql]" gunicorn
|
||||||
|
|
||||||
|
If you are running Python 3.4, you also need to ``pip3 install typing``. This is not required on 3.5 or newer.
|
||||||
|
You can find out your Python version using ``python -V``.
|
||||||
|
|
||||||
We also need to create a data directory::
|
We also need to create a data directory::
|
||||||
|
|
||||||
@@ -127,8 +130,8 @@ We also need to create a data directory::
|
|||||||
|
|
||||||
Finally, we compile static files and translation data and create the database structure::
|
Finally, we compile static files and translation data and create the database structure::
|
||||||
|
|
||||||
(venv)$ python -m pretix rebuild
|
|
||||||
(venv)$ python -m pretix migrate
|
(venv)$ python -m pretix migrate
|
||||||
|
(venv)$ python -m pretix rebuild
|
||||||
|
|
||||||
|
|
||||||
Start pretix as a service
|
Start pretix as a service
|
||||||
|
|||||||
Reference in New Issue
Block a user