Commit 8a12d89f authored by Joel Collins's avatar Joel Collins
Browse files

Updated documentation for installation

parent d445b359
Loading
Loading
Loading
Loading
+20 −5
Original line number Diff line number Diff line
@@ -4,21 +4,36 @@ Quickstart
Install
-------

Auto-installer
++++++++++++++
Quick-installer
+++++++++++++++
For most users, this is the reccommended installation method.

- Run ``curl -LSs get.openflexure.org/microscope |sudo bash``
    - See the `GitLab repo <https://gitlab.com/openflexure/openflexure-microscope-installer>`_ for details.
- Follow on-screen prompts

Manual
++++++
Really-quick installer
^^^^^^^^^^^^^^^^^^^^^^
The installer script can run with all default settings applied, removing all user prompts.

- Run ``curl -LSs get.openflexure.org/microscope |sudo bash -s -- -y``

Developer installer
^^^^^^^^^^^^^^^^^^^
The installer script can pull the latest development package from our git repository, and use install into a developer environment using Poetry.

- Run ``curl -LSs get.openflexure.org/microscope |sudo bash -s -- -d``


Manual installation
+++++++++++++++++++
- (Recommended) create a virtual environment
    - ``pip3 install virtualenv``
    - ``mkdir ~/.openflexure``
    - ``python3 -m virtualenv ~/.openflexure/envmicroscope``
    - Activate with ``source /.openflexure/envmicroscope/bin/activate``
- Install non-python dependencies with ``sudo apt-get install libatlas-base-dev libjasper-dev libjpeg-dev``
- **Users:** Install module by running ``pip install openflexure-microscope==1.0.0b7``
- **Users:** Install module by running ``pip install openflexure-microscope``
- **Developers:** Install `Poetry <https://github.com/sdispater/poetry>`_, clone this repo, and ``poetry install`` from inside the repo.

API Server