-
Make sure your environment is setup properly and
docker
is running- Make sure
docker
has enough resources (min.16GB
mem), otherwise build will fail
- Make sure
-
Build the project
cd PrototypeCode yarn install yarn build:all
-
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
-
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
-
Bootstrap your account
cd prototype/infra yarn bootstrap
-
Run the deployment
cd prototype/infra yarn dev:deploy:all
-
Check your email (set as
administratorEmail
) for your temporary password -
Check the URL for the newly created CloudFront Distribution, load it in your browser and login with your email/temp password