This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |