The app is deployed here: https://open-targets-metrics.streamlit.app/
To start the app locally, run streamlit run app.py
.
If you encounter a TomlDecodeError
, this can be resolved by removing the ~/.streamlit
folder.
The application will be automatically deployed each time the master
branch is updated.
The hosting is served using Streamlit's native Cloud service.
When there are any changes to either the code or data (release metrics) used by the app, it will need to be rebooted. In order to do that: In order to do that:
- Log in to https://share.streamlit.io/ with your work GitHub account.
- In the upper right corner, click on your username and switch to the opentargets workspace.
- Next to the ot-release-metrics app, click on a three dot icon and then choose “Reboot”.
Note A “Rerun” option, available inside the app itself from a sandwich dropdown menu in the upper right corner, is different to the “Reboot” option described above, and will not work to make the app ingest the new data.