principalstudio / strapi-template-basic

Strapi template for an unspecified API
MIT License
0 stars 0 forks source link

Add optional step(s) in setup.todo for Route 53 zone creation and SES setup #45

Open julesrenaud opened 2 years ago

julesrenaud commented 2 years ago
[x] Run merge script: `node scripts/merge.js`
[x] Edit package.json file
[x] Edit README.md file
[x] Add this line `quote_type = single` to .editorconfig
[x] Add this line `watchIgnoreFiles: ['**/*.todo', '**/*.paw'],` to `admin` in config/server.js
[x] Create a git repo and push all files/directories
[x] Update documentation config in extensions/documentation/config/settings.json
[x] Create S3 bucket for uploads plugin
  https://strapi.io/documentation/developer-docs/latest/setup-deployment-guides/deployment/hosting-guides/amazon-aws.html#configure-s3-for-image-hosting
# [] Create AWS secret with available environment vars
[x] Create IAM policies for S3 Bucket and Secrets Manager
[x] Create IAM bot user with aforementioned policies and BeanstalkBots group attached
[x] Add AWS_ACCESS_KEY_ID_DEV and AWS_SECRET_ACCESS_KEY_DEV secrets to the repo
[x] Create .ebignore file from .gitignore file, remove rules that disallows `.env` and `dump`
[x] Create .env file
[x] Run `rm -R node_modules` and `npm i`
[x] Run `eb init` and `eb create -db` commands (respond yes to Spot Fleet requests and select t2.small ans t2.medium as instance types)
# [] Update AWS secret with needed environment vars
[x] Connect RDS database to EB environment
[x] Add environment variables to EB environment and as GitHub secrets (see .github/workflows/deploy-main.yml)
[x] Add A record for custom domain name that routes traffic to EB load balancer
[x] Create CM certificate for custom domain
[x] Add 443 listener to EB load balancer using CM certificate created above
  https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/configuring-https.html
[x] Redirect traffic from HTTP to HTTPS on EC2 load balancer
  https://aws.amazon.com/premiumsupport/knowledge-center/elb-redirect-http-to-https-using-alb/
[] delete this file