pnpm add fastify fastify-socket.io ioredis close-with-grace dotenv socket.io @fastify/cors
pnpm add @types/node tsx typescript @types/ws -D
pnpm add socket.io-client
npx shadcn-ui@latest init
npx shadcn-ui@latest add textarea button form
- Generate some keys https://www.wpoven.com/tools/create-ssh-key#
- Create a DO droplet
- SSH intro droplet
- Update the package repository metadata - sudo apt update
- Add the NodeJS package -
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
- Install Node.js
sudo apt-get install nodejs
- Install docker compose -
sudo apt install docker-compose
- Install NodeJS (so we can build the UI) -
sudo apt install nodejs npm
- Install pnpm -
wget -qO- https://get.pnpm.io/install.sh | sh -
source /root/.bashrc
- If you're using a private repo get a GitHub PAT
- Clone the repo - git clone
https://<PAT>@<repo>
- Configure the GH action