merbla / bird-signs

AFL data service for the Tipresias app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bird Signs

build

The AFL data API for the Tipresias app and related data-science services

Running things

Setup

  • To manage environemnt variables:
    • Install direnv
    • Add eval "$(direnv hook bash)" to the bottom of ~/.bashrc
    • Run direnv allow . inside the project directory
  • To build and run the app: docker-compose up --build

Run the app

  • docker-compose up
  • Navigate to localhost:8080.

Testing

  • Run ./scripts/test.sh

Deploy

  • 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.

About

AFL data service for the Tipresias app

License:MIT License


Languages

Language:R 71.6%Language:Shell 26.0%Language:Dockerfile 2.4%