Skip to content

Latest commit

 

History

History
53 lines (34 loc) · 929 Bytes

File metadata and controls

53 lines (34 loc) · 929 Bytes

Development Setup

This is the authoritative source for local setup and run workflows.

This document contains local setup and deployment-oriented developer workflows.

Install dependencies

./init.sh

Setup AWS CLI

aws configure

Create AWS resources

make dev-aws-install

API Gateway for email-sending Lambda is currently not created automatically. The same API Gateway endpoints can be reused across Touch Mapper instances.

Install static website to S3

make dev-web-s3-install

The last output line includes the CloudFront URL (for example https://something.cloudfront.net) for accessing the web UI.

Run OSM -> STL converter service

Run in a separate terminal tab:

install/run-dev-converter.sh

Local web development

In web/, run these in separate terminal tabs:

make watch
make serve

Then open http://localhost:9000.