Retrieve real-time data from your Nordic Semiconductor Development Kit within seconds.
Install the dependencies:
npm ci
npm start
You can run the tests using
npm run test:e2e
- register domain name, export as
DOMAIN_NAME
- create certificate in
us-east-1
region, export asCERTIFICATE_ID
npx cdk bootstrap
npx cdk deploy --all
Deploy https://github.com/hello-nrfcloud/aws-map and follow the instructions to acquire the necessary parameters to display the map.
Create a GitHub environment production
.
Store the registry endpoint as a GitHub Action variable:
gh variable set REGISTRY_ENDPOINT --env production --body "<registry endpoint>"
# If using a custom domain name
gh variable set DOMAIN_NAME --env production --body "<domain name>"
Store the role used for continuous deployment as a secret:
CD_ROLE_ARN=`aws cloudformation describe-stacks --stack-name ${STACK_NAME:-hello-nrfcloud-web} | jq -r '.Stacks[0].Outputs[] | select(.OutputKey == "gitHubCdRoleArn") | .OutputValue'`
gh secret set AWS_ROLE --env production --body "${CD_ROLE_ARN}"
Store the stack name and the region as a variable:
gh variable set STACK_NAME --env production --body "${STACK_NAME:-hello-nrfcloud-web}"
gh variable set AWS_REGION --env production --body "eu-west-1"