Skip to content

Latest commit

 

History

History
60 lines (48 loc) · 2.22 KB

README.md

File metadata and controls

60 lines (48 loc) · 2.22 KB

🐣 Antifragile Systems 🌍 website

Build Status Coverage Status

Antifragile Systems website

Features

How to develop

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

Available environment variables

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

How to deploy

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

Available environment variables

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