2020-08-17 16:40:15 -04:00
2020-06-16 15:50:46 -04:00
2020-06-16 15:50:46 -04:00
2020-06-16 22:41:27 -04:00
2020-08-13 14:54:21 -04:00
2020-08-13 14:54:21 -04:00
2020-07-05 10:26:34 -04:00
2020-05-25 11:41:39 -04:00

sartography/protocol-builder-mock

UVA IRB Protocol Builder Mock

Requirements

  • Python 3
  • pip (for python 3)
  • pipenv (just run pip install pipenv)

Running these examples

pipenv run python run.py

This will start a webserver on localhost at port 5001. To see the api, you can visit http://localhost:5001/pb/ui

For future reference, these are the steps Sartography is taking to set up Mock Services:

  1. mdkir project
  2. cd project
  3. pipenv install
  4. pipenv install flask
  5. pipenv install connexion
  6. place your swagger/openapi file in the root directory
  7. add methods to return example data in the app.py file.

Deploying to staging

We don't have a travis / test environment set up for this yet, no tests but you can build and publish it with:

docker image build -t sartography/protocol-builder-mock:latest .
docker push sartography/protocol-builder-mock:latest
Description
A mock up of the interface with Protocol Builder
Readme
Languages
Python 86.7%
HTML 4.9%
Shell 4%
SCSS 3.7%
Dockerfile 0.4%
Other 0.3%