You can use this repository in different ways depending on whether you are starting from scratch or if you have existing content and just need to deploy it.
- Fork this repository into a repository for your website, and clone that repository locally
- Put your content into the
publicdirectory, replacing the dummy web page with your own content - Configure your service name, content region and default stage name in
configinpackage.json - Optional Create a Hosted Zone in Route53 for your desired domain name or an ancestor domain (you might already have this)
- Deploy your website, either using
npmor by calling the AWS CLI directly (see Configuration and Operation)
- Copy the
cloudformationtemplates and thescriptsandconfiginpackage.jsoninto your existing repository - If your content is not in a top-level
publicdirectory, you can modify thescriptwith keydeploy:contentinpackage.json - Configure your service name, content region and default stage name in
configinpackage.json - Optional Create a Hosted Zone in Route53 for your desired domain name or an ancestor domain (you might already have this); delete any existing DNS records that will conflict
- Deploy your website, either using
npmor by calling the AWS CLI directly (see Configuration and Operation)