7e9bc8c9b4
Bumps [certifi](https://github.com/certifi/python-certifi) from 2022.6.15 to 2022.12.7. - [Release notes](https://github.com/certifi/python-certifi/releases) - [Commits](https://github.com/certifi/python-certifi/compare/2022.06.15...2022.12.07) --- updated-dependencies: - dependency-name: certifi dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
.github/workflows | ||
config | ||
migrations | ||
pb | ||
templates | ||
tests | ||
.gitignore | ||
.sonarcloud.properties | ||
.tool-versions | ||
Dockerfile | ||
README.md | ||
docker_run.sh | ||
example_data.py | ||
poetry.lock | ||
pyproject.toml | ||
run.py | ||
setup.cfg | ||
setup.py | ||
sonar-project.properties | ||
wait-for-it.sh | ||
wsgi.py |
README.md
sartography/protocol-builder-mock
UVA IRB Protocol Builder Mock
Requirements
- Python 3
- pip (for python 3)
- poetry (just run pip install poetry)
Database Setup
The database for the CR Connect project will create an empty database for protocol builder as well. We did this because you would only by running this mock in order to support the app. Would be good to have this set up and run as a part of that docker-compose rather than having to spin this up seperately.
With the database running, be sure to execute
flask db upgrade
to set up the database structure.
Starting up Protocol Builder
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
Create an example study
Finally, you will need to connect to the protocol builder mock ui in a web browser (see above url) And use this to connect to create a new study. Be sure the study is owned by the person you are logging in to on CR-Connect. For must development environments this will be dhf8r.
Deploying to staging
Builds happen automatically when pushed to the main branch.