yarn build- Create zip file from the
build folder,prisma folder&package.jsonfile - upload to
https://eu-west-2.console.aws.amazon.com/elasticbeanstalk/home?region=eu-west-2#/environment/dashboard?applicationName=slackql&environmentId=e-ncggdtm4p6
- Head to
https://eu-west-2.console.aws.amazon.com/elasticbeanstalk/home?region=eu-west-2#/applications - Create a new application
- Keep all presets
- Add additional config
- Scroll down to database and click modify
- Select Postgres
- Select db.t3.micro
- Create username & password
- Click create and wait 10 mins
- On the Left click
ConfigurationEditSoftwarescroll to the bottom & add in environment variables