This is the src code of kepler.gl demo app. You can copy this folder out and run it locally.
npm installor
yarnadd mapbox access token to node env
export MapboxAccessToken=<your_mapbox_token>npm startInstall and configure the Amplify CLI:
npm install -g @aws-amplify/cliamplify configureSetup AWS Authentication and Storage
These steps create a new Cloudformation stack, a Cognito user pool and a S3 bucket and connect both via policies.
amplify add authamplify add storageAlways finish Amplify changes by:
amplify pushIf Amplify services only needs to be updated run
amplify update authamplify update storageCopy the file aws-exports.js generated by the previous step into the demo-app/src folder (there is already an empty one to avoid startup problems)
Finally, set the AWSAccountName (just for display) in the environment:
export AWSAccountName=demo-account- URLs of shared maps expire after one hour.