added poetry instructions

This commit is contained in:
Aurthur Musendame 2021-10-17 17:11:18 +02:00 committed by GitHub
parent 869b97d67b
commit ad3464e210
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,18 +30,25 @@ Felicity is the quality of being good, pleasant, or desirable.
### Direct ### Direct
#### Backend Installation #### Backend Installation
##### using poetry ##### using poetry
Fist install [Poetry](https://python-poetry.org/docs/#installation)
```shell
git clone https://github.com/aurthurm/felicity.git
cd felicity
cd backend/felicity_lims
poetry install
bash felicity.sh &
````
##### using anaconda ##### using anaconda
Fist install [Miniconda](https://docs.conda.io/en/latest/miniconda.html) Fist install [Miniconda](https://docs.conda.io/en/latest/miniconda.html)
Create feicity enviroment using conda
```shell ```shell
$ conda create -n felicity python=3.9 conda create -n felicity python=3.9
$ git clone https://github.com/aurthurm/felicity.git conda activate felicity
$ cd felicity git clone https://github.com/aurthurm/felicity.git
$ conda activate felicity cd felicity
$ cd backend/felicity_lims cd backend/felicity_lims
$ pip install -r requirements.txt pip install -r requirements.txt
$ bash elicity.sh & bash felicity.sh &
```` ````
#### Frontend Installation #### Frontend Installation
@ -49,9 +56,9 @@ $ bash elicity.sh &
### Docker ### Docker
This method uses Docker and docker-compose which handles the details of installing dependencies for you. On your Linux command line, run: This method uses Docker and docker-compose which handles the details of installing dependencies for you. On your Linux command line, run:
```shell ```shell
$ git clone https://github.com/aurthurm/felicity.git git clone https://github.com/aurthurm/felicity.git
$ cd felicity cd felicity
$ docker-compose up -d docker-compose up -d
``` ```
## Contact ## Contact