Update docs/source/install.rst
This commit is contained in:
parent
003338c5f6
commit
7d73cefdb5
docs/source
|
@ -3,21 +3,43 @@ Install
|
||||||
|
|
||||||
.. _installation:
|
.. _installation:
|
||||||
|
|
||||||
Installation
|
Installers
|
||||||
------------
|
------------
|
||||||
|
|
||||||
To use Lumache, first install it using pip:
|
If you plan to use SSL, be sure to set the hostname
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ hostnamectl set-hostname qpod.webgis1.com
|
$ hostnamectl set-hostname qpod.webgis1.com
|
||||||
$ git clone https://github.com/AcuGIS/quartzmap.git
|
|
||||||
$ cd quartzmap
|
|
||||||
$ ./installer/postgres.sh
|
|
||||||
$ ./installer/app-install.sh
|
|
||||||
|
|
||||||
More
|
Installer scripts are available in the install directory and should be called from the base directory.
|
||||||
----------------
|
|
||||||
|
Download QuartzMap or use Git.
|
||||||
|
|
||||||
|
Change to the quartzmap directory
|
||||||
|
|
||||||
|
.. code-block:: console
|
||||||
|
|
||||||
|
$ git clone https://github.com/AcuGIS/quartzmap.git
|
||||||
|
$ cd quartzmap
|
||||||
|
|
||||||
|
If PostgreSQL is not installed, install it using /installer/postgres.sh
|
||||||
|
|
||||||
|
.. code-block:: console
|
||||||
|
|
||||||
|
$ ./installer/postgres.sh
|
||||||
|
|
||||||
|
|
||||||
|
Run the installer:
|
||||||
|
|
||||||
|
.. code-block:: console
|
||||||
|
|
||||||
|
$ ./installer/app-install.sh
|
||||||
|
|
||||||
|
|
||||||
|
Manual Installation
|
||||||
|
-------------------
|
||||||
|
|
||||||
To retrieve a list of random ingredients,
|
To retrieve a list of random ingredients,
|
||||||
you can use the ``lumache.get_random_ingredients()`` function:
|
you can use the ``lumache.get_random_ingredients()`` function:
|
||||||
|
|
Loading…
Reference in New Issue