Scotty.js is available on NPM. Install it as a global dependency to be able to use scotty command anywhere. Developing a single page app is hard. From the very beginning, you’ll need to make many decisions — decisions like picking a framework, setting the folder structure, configuring linter, and many others. Amazon offers something that can scale, a combination of Simple Storage Service (S3) for static website hosting and CloudFrontas a CDN is a cheap but scalable way to deliver your single page app. Although it takes some time to prepare both of those too, even more if you are not familiar with Amazon Web Services. The main idea behind Scotty is to deploy your static website or single page app to Amazon ecosystem with a single command. It will deploy your static website, set up CDN with HTTPS, and even copy the website URL to your clipboard in a minute or so, depending on your internet speed and the website/app size.
Features
- Print the current version
- Set uploaded folder as a static website
- Update the bucket without asking
- Only output the resulting URL, CDN or S3 according to options
- Update existing bucket
- Empty the bucket