Skip to content

Commit

Permalink
remove extra folder
Browse files Browse the repository at this point in the history
  • Loading branch information
vdancik authored Nov 8, 2021
1 parent e74dec3 commit 51555be
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions reasonerAPI/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,13 @@

Package transformer itself
```
cd transformers/reasonerAPI/python-flask-server
python setup.py bdist_wheel
```
Package transformer base class
```
cd util/python/
cd reasonerAPI/python-flask-server
python setup.py bdist_wheel
```

### Copy files to server

copy `transformers/reasonerAPI/python-flask-server/dist/molepro_trapi-1.2.1.1-py3-none-any.whl` to the target folder
copy `reasonerAPI/python-flask-server/dist/molepro_trapi-1.2.1.1-py3-none-any.whl` to the target folder


### Install transformer on server
Expand All @@ -27,15 +22,17 @@ pip install -I molepro_trapi-1.2.1.1-py3-none-any.whl
pip install gunicorn
pip install "connexion[swagger-ui]"
deactivate
```

### Launch transformer

```
set environment variable MOLEPRO_QUERY_LIMIT 1000
set environment variable MOLEPRO_PORT 9220
set environment variable MOLEPRO_PORT <port#>
set environment variable MOLEPRO_BASE_URL https://molepro.ci.transltr.io/molecular_data_provider
set environment variable MOLEPRO_URL_BIOLINK https://bl-lookup-sri.renci.org/bl
set environment variable MOLEPRO_URL_TRANSFORMERS https://molepro.ci.transltr.io/molecular_data_provider/transformers


### Launch transformer
```

```
mkdir logs
Expand Down

0 comments on commit 51555be

Please sign in to comment.