Devlog 2| Forgot to make a lapse anyway, today i got approved on nest so i uploaded my slack bot the problem was that for some reason the commands that the mission’s guide provided did not work for me so i ask chatgpt and it told me that i can just use this commands instead
1. Connect to the server
ssh USER@SERVER
2. Check Node.js
node –version
3. Check npm
npm –version
4. Go to the bot folder
cd ~/PROJECT_FOLDER
5. Install dependencies
npm install
6. Start the bot with PM2
pm2 start npm –name “BOT_NAME” – start
7. Check PM2
pm2 status
8. Save the PM2 process list
pm2 save
9. Configure PM2 to start automatically after a reboot
pm2 startup
10. Run the command PM2 gives you
<PM2_STARTUP_COMMAND>
11. Save again
pm2 save
I also made some changes to the code as i had forgotten to include every single of my commands to the help commands output
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.