Antifragile Systems website
- Host files on a AWS S3 bucket and deliver them 🌐 worldwide through AWS CloudFront ✅
Clone the GitHub repo
git clone https://github.com/antifragile-systems/antifragile.systems.git
Change current directory
cd antifragile.systems
Run the NPM script that will deploy
npm run start
Variable | Description | Required | Default value |
---|---|---|---|
WEBPACK_DEV_PORT | The port be used by the Webpack development server. | false | 3000 |
ENVIRONMENT | The environment the app is running on. | false | production |
Clone the GitHub repo
git clone https://github.com/antifragile-systems/antifragile.systems.git
Change current directory
cd antifragile.systems
Run the NPM script that will deploy
npm run deploy
Variable | Description | Required | Default value |
---|---|---|---|
AWS_REGION | AWS region used for S3 and CloudFront. | true | undefined |
AWS_ACCESS_KEY_ID | AWS access key used for S3 and CloudFront. | true | undefined |
AWS_SECRET_ACCESS_KEY | AWS secret access key used for S3 and CloudFront. | true | undefined |
AWS_S3_BUCKET | The bucket to host the website files. | false | antifragile.systems |
AWS_CLOUDFRONT_DISTRIBUTION_ID | The distribution ID to invalidate its cache. | true | undefined |
ENVIRONMENT | The environment the app is running on. | false | production |