Updated build instructions

This commit is contained in:
Joel Collins 2020-05-15 17:15:01 +01:00
parent 54ee94042d
commit 34b1c66cdf

View file

@ -12,7 +12,11 @@ This includes installing the server in a mode better suited for active developme
## Installation
* `git clone --recurse-submodules https://gitlab.com/openflexure/openflexure-microscope-server.git`
* `poetry install`
* `poetry run build_static`
### Distributing
* `poetry run build`
* Dist files will then be in `/dist`
## Build-system
As of 1.0.0b0, we're using [Poetry](https://github.com/sdispater/poetry) to manage dependencies, build, and distribute the package. All package information and dependencies are found in `pyproject.toml`, in line with [PEP 518](https://www.python.org/dev/peps/pep-0518/). If you're developing this package, make use of `poetry.lock` to ensure you're using the latest locked dependency list.