This site is a static website created with Scala.js and Slinky, built based on the Slinky docs.
I build this site to experiment with Scala.js, Slinky (React), Github Actions, static website hosting, AWS S3 and CloudFront.
Start SBT in root folder, switch to one of the sub-modules with project <projectname>
, these sub-modules exist:
- infrastructure - This is the Pulumi stack to create the infrastructure in AWS
- Developing in his module, requires you to run
~fastOptJS::webpack"
. To then check the infrastructure changes, change directory to the infrastructure-folder and runpulumi pre
- Developing in his module, requires you to run
- lambdaPathRewriter - This is a small lambda, that is used to strip the url paths of
.html
- Developing in his module, requires you to run
~fastOptJS::webpack"
.
- Developing in his module, requires you to run
- site - This is the actual code for the site
- Developing in his module, requires you to run
dev
. You can then access the website at http://localhost:8080
- Developing in his module, requires you to run