Skip to content

Latest commit

 

History

History
56 lines (40 loc) · 1.57 KB

quick-start.md

File metadata and controls

56 lines (40 loc) · 1.57 KB

Deployment quick start

  1. Make sure your environment is setup properly and docker is running

    • Make sure docker has enough resources (min. 16GB mem), otherwise build will fail
  2. Build the project

    cd PrototypeCode
    yarn install
    yarn build:all
  3. Setup your own configuration for your infrastructure

    cd prototype/infra/config
    cp default.yml default-XXXXXXXXXXXX.yml # where XXXXXXXXXXXX is your AWS account ID (12-digit)

    Open the newly copied default-XXXXXXXXXXXX.yml file and customize the configuraiton.

    Make sure that you have updated the following configuration parameters (MUST SET min list):

    • env.account
    • env.region
    • env.originUserPassword
    • env.destinationUserPassword
    • administratorEmail
    • graphhopperSettings.osmPbfMapFileUrl
  4. Check out ECS docs on ENI trunking and prepare your account.

    # example (change region/profile values)
    aws ecs put-account-setting-default --name awsvpcTrunking --value enabled --region ap-southeast-1 --profile hyperlocalAdmin
  5. Bootstrap your account

    cd prototype/infra
    yarn bootstrap
  6. Run the deployment

    cd prototype/infra
    yarn dev:deploy:all
  7. Check your email (set as administratorEmail) for your temporary password

  8. Check the URL for the newly created CloudFront Distribution, load it in your browser and login with your email/temp password