The AFL data API for the Tipresias app and related data-science services
- To manage environemnt variables:
- Install
direnv
- Add
eval "$(direnv hook bash)"
to the bottom of~/.bashrc
- Run
direnv allow .
inside the project directory
- Install
- To build and run the app:
docker-compose up --build
docker-compose up
- Navigate to
localhost:8080
.
- Run
./scripts/test.sh
-
Deploy app to Google Cloud Run:
- Merge a pull request into
main
- Manually trigger a deploy:
- In the Travis dashboard, navigate to the tipresias repository.
- Under 'More Options', trigger a build on
main
. - This will build the image, run tests, and deploy to Google Cloud Run.
- Merge a pull request into