Skip to content
This repository has been archived by the owner on May 8, 2021. It is now read-only.

Latest commit

 

History

History
45 lines (32 loc) · 1.48 KB

README.md

File metadata and controls

45 lines (32 loc) · 1.48 KB

Build Status

Hike to bike

Simple app for finding closest indego bycicle station

Quick start

Via npm

  • npm start starts dev-server
  • npm test runs tests via jest in watch mode
  • npm run test:ci runs tests via jest once
  • npm run build builds production bundle in ./build

Via docker

  • npm run dstart starts dev-server (docker-compose up)
  • npm run dtest runs tests in docker container (docker-compose run hike-to-bike npm run test:ci)
  • npm run dbuild builds production bundle in ./build (docker-compose run hike-to-bike npm run build)
  • npm run dcleanup cleans up all docker stuff (docker-compose down --rmi all -v)

CI/CD

  • Travis runs build and test in docker-container
  • Then compiled build-folder is moved to heroku
  • Heroku deploys static build

Technologies