This is a Flask app for the Passenger application server that has been modified to work with OnDemand.
The app stack consists of Flask, React, and Tailwind CSS.
git clone https://github.com/tamu-edu/dor-hprc-HPCMosaic.git
git submodule init
git submodule update
To setup the build environment, create a new sandbox app and follow the instructions outlined in the base dashboard repository to setup your config and build env on the OOD Portal.
But this should be dynamic enough to work on your setup. Within setup.sh please change the CLUSTERNAME variable to be the name of the cluster the dashboard is for. Then you should be able to simply run:
bash setup.sh
And have the venv created, dependencies set up, etc.
npm run build
npm run build-watch
The project includes submodules located in: external/
NOTE: There is currently one hardcoded line for development in ClusterInfo.js:
const baseUrl = `${window.location.origin}/pun/sys/dor-hprc-web-tamudashboard-reu-branch`;
Remember to pull and update submodules when updating the repository:
git pull
git submodule update --remote