README.md 500 Bytes
Newer Older
Jerome Touvier's avatar
fix doc    
Jerome Touvier committed
1
# Webservice ph5-dataselect
Jerome Touvier's avatar
cleanup  
Jerome Touvier committed
2
3
4
5
6
7
8
9
10
11
12
13
14
15

## Play around with docker

```
docker build -t ws-ph5-dataselect .
docker run --rm -e RUNMODE=test -p 8000:8000 --name ws-ph5  ws-ph5-dataselect:latest
```

Then :

```
wget -O - http://localhost:8000/1/application.wadl
```

Jerome Touvier's avatar
fix doc    
Jerome Touvier committed
16
Run it in debug mode with flask:
Jerome Touvier's avatar
cleanup  
Jerome Touvier committed
17
18

```
Jerome Touvier's avatar
fix doc    
Jerome Touvier committed
19
RUNMODE=test FLASK_APP=start.py flask run
Jerome Touvier's avatar
cleanup  
Jerome Touvier committed
20
21
22
23
```

## RUNMODE builtin values

Jerome Touvier's avatar
update    
Jerome Touvier committed
24
  * `production`
Jerome Touvier's avatar
cleanup  
Jerome Touvier committed
25
  * `test`
Philippe Bollard's avatar
Philippe Bollard committed
26
27
28
29
30
31

## Authors (dc@resif.fr)

  * Jérôme Touvier
  * Jonathan Schaeffer
  * Philippe Bollard (Maintainer)