Commit eb181fca authored by Joel Collins's avatar Joel Collins
Browse files

Created very basic quickstart

parent c8b7249b
Loading
Loading
Loading
Loading
+13 −2
Original line number Diff line number Diff line
Quickstart
=======================================================

Install
-------
- (Recommended) create a virtual environment
    - Create a virtual environment with ``python3 -m venv env`` (or your favourite virtual environment system)
    - Activate with ``source env/bin/activate``
- Install non-python dependencies with ``sudo apt-get install libatlas-base-dev libjasper-dev libjpeg-dev``
- Install module by running ``pip install openflexure-microscope==1.0.0b0``

Web API
-------

Python
------
 No newline at end of file
Simple development server with Gunicorn
+++++++++++++++++++++++++++++++++++++++

- Ensure Gunicorn is installed to the current environment (``pip install gunicorn``)
- Run ``gunicorn --threads 5 --workers 1 --bind 0.0.0.0:5000 openflexure_microscope.api.app:app``
 No newline at end of file