/my-transit

Personalized transit reports, currently Berlin's BVG

Primary LanguageJavaScriptMIT LicenseMIT

Build Status codecov Test Coverage Maintainability

My Transit

Personalized transit reports, currently Berlin's BVG

Set-Up Environment

  • install docker
  • install docker-compose
    • sudo apt install docker-compose

Commands

  • run tests
    • docker-compose run web yarn test
  • run locally
    • docker-compose run web
  • deploy
    • export DIGITALOCEAN_ACCESS_TOKEN=...;
    • docker-machine create --driver digitalocean --digitalocean-region fra1 my-transit
    • docker-machine ssh my-transit "docker swarm init --advertise-addr ...
    • docker-machine env my-transit
    • eval $(docker-machine env my-transit)
    • docker stack deploy -c docker-compose.yml my-transit