Skip to content

Latest commit

 

History

History
24 lines (21 loc) · 861 Bytes

README.md

File metadata and controls

24 lines (21 loc) · 861 Bytes

Light Bikes

Run the application locally

  1. ./gradlew bootRun

Deploy the application

  1. Load your inseng credentials vaulted shell <inseng>
  2. Log in to Starlord (https://starlord.inscloudgate.net/) docker login -u <username> -p ... starlord.inscloudgate.net
  3. Build (tag should be the sha of master) cg build -e edge -t <tag>
  4. Deploy cg deploy -e edge -t <tag> -u <username>

Deploy the application after CloudGate upgrade

  1. Provision the application cg provision -e edge
  2. Follow deployment steps above as normal
  3. Find the DNS name of the application EC2 -> Load Balancers -> search "light-bike" -> Basic Configuration
  4. Update the Route53 Hosted Zone with the new DNS name Route53 -> Hosted Zones -> search "light-bikes" -> Edit Record Set -> paste DNS name as the new value
  5. Wait for AWS to update