The marketing site shown at www.sharetribe.com
tl;dr Run grunt build package deploy
(Make sure you have aws-keys.json
file)
-
Run
grunt build
-
Build task creates a new folder
dist
. Go to that browser and run http-server on that folder. Do your testing. -
Run
grunt package deploy
-
Go to S3 URL (http://www.sharetri.be.s3-website-us-east-1.amazonaws.com/ or http://www.sharetribe.com.s3-website-us-east-1.amazonaws.com/) and test.
-
Go to CloudFront console and invalidate *.html files
-
Make sure the cache is invalidated: Open the browser and go to the site URL. See the source code. Scroll to the bottom and make sure the VERSION is updated.
Create a new file called aws-keys.json
. The content of that file should be:
{
"AWSAccessKeyId": "AKxxxxxxxxxx",
"AWSSecretKey": "super-secret-key"
}