Data viewing, discovery, and access interface for the Surface Water Open Topography mission.
git clone https://github.com/CUAHSI/SWOT-Data-Viewer.git
cd SWOT-Data-Viewer
git checkout develop
cp .env.template .env
make build-all
make up-all
The API will be available at http://0.0.0.0:8000 The UI will be available at http://localhost:5173
To bring the stack down:
make down-all
To see logs:
make logs-front
#or
make logs-back
cp .env.template .env
cd frontend
npm install
npm run dev
The frontend will be available at http://localhost:5173 More detailed info is available in the frontend readme
# backend
make format
# frontend:
cd frontend && lint-format-fix
Formatting and linting is run with a git pre-commit hook using Husky. It requires the Docker daemon to be running. If you are having trouble with the formatting and linting, you can see here how to skip the git hook: https://typicode.github.io/husky/how-to.html#skipping-git-hooks However note that this is not recommended -- let's keep our code clean!
Notebooks from this collection will be rendered as examples
The functionality to launch into MyBinder relies on a separate repo: https://github.com/hydroshare/hydroshare_github_sync
This is because the direct hydroshare launch into MyBinder is broken at this time...