2020-05-14 15:44:50 -04:00
2020-02-18 09:25:29 -05:00
2020-04-03 18:14:51 -04:00
2020-05-14 08:51:49 -04:00
2020-02-17 16:47:34 -05:00
2020-05-06 10:38:02 -04:00
2020-03-25 10:00:07 -04:00
2020-03-25 10:00:07 -04:00
2020-02-17 16:47:34 -05:00
2020-01-08 16:14:16 -05:00

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%