Created very basic quickstart
This commit is contained in:
parent
c8b7249bd9
commit
eb181fcaa5
1 changed files with 13 additions and 2 deletions
|
|
@ -1,8 +1,19 @@
|
|||
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
|
||||
------
|
||||
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``
|
||||
Loading…
Add table
Add a link
Reference in a new issue