The website resources of ALIS project website.
- node
- see:
.node-version
- see:
- yarn
git clone https://github.com/AlisProject/welcome.git
cd welcome
yarn
yarn watch
Local resources be opened automatically.
yarn test
Prerequisite: aws-cli
Also you need correct AWS settings.
Please change example.com
to your S3 bucket name.
-
Create S3 bucket.
aws s3 mb s3://example.com
-
Setting bucket to static website hosting.
aws s3 website s3://example.com --index-document index.html
-
Add environment variables.
export S3_BUCKET_DEVELOP=example.com
-
Deployment.
yarn deploy
-
Now you can see:
open http://example.com.s3-website-ap-northeast-1.amazonaws.com