Part of the demo for "Functional and Serverless on AWS"
The application is continually delivered using AWS CodePipeline and CodeBuild.
buildspec.yml contains the build specification for AWS CodeBuild.
The most recent deployment is available on the live site.
Build is based on Node and NPM. Local versions of the Purescript compiler, build tooling (Pulp), and dependency manager (Bower) are installed as part of prep.
- install node and npm
npm run prepprepare node and purescript environmentnpm testto run unit tests./rum.shto run webpack dev server./build.shto build static site; results in./build/./publish.shto publish static site to origin bucket (see provisioning)
The site is deployed to AWS S3 and delivered from that origin through AWS CloudFront. Provisioning templatesa are provided. Provisioning tooling is WIP
provision/runtime.yamlprovision runtime services S3, CloudFront, Route 53, etc.provision/pipeline.yamlprovision the continuous delivery pipeline