Start an AWS EC2 instance
SSH into the machine
Install docker in the machine -
https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-20-04
or Install node.js on the machine -
https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-22-04
, also install bun
npm install -g bun
Clone the repo -
https://github.com/100xdevs-cohort-3/ASG
bun install
bun bin.ts
Install pm2