Skip to content

Instantly share code, notes, and snippets.

View ByteGrad's full-sized avatar

Wesley (ByteGrad) ByteGrad

View GitHub Profile
The below are all the commands you need to run -- make sure to replace the IP with your own.
before deploying:
make sure environment variables are correct (.env vs .env.local)
npm build script (if you use prisma)
"build": "prisma db push && next build"
ssh root@62.72.26.118
apt install npm
npm install -g n
n latest