mirror of
https://github.com/beak-insights/felicity-lims.git
synced 2025-02-23 08:23:00 +08:00
added poetry instructions
This commit is contained in:
parent
869b97d67b
commit
ad3464e210
1 changed files with 18 additions and 11 deletions
29
README.md
29
README.md
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue