30 lines
522 B
Markdown
30 lines
522 B
Markdown
# Boto
|
|
|
|
Twitch IRC Chatbot
|
|
|
|
```
|
|
npm install tmi.js@1.5.0
|
|
npm install dotenv
|
|
npm install request-promise
|
|
npm install colors
|
|
node boto.js
|
|
```
|
|
|
|
Start on Boot
|
|
```
|
|
# Installing pm2
|
|
npm install -g pm2 # may require sudo
|
|
|
|
# Starting the app
|
|
pm2 start ~/Projects/red.js
|
|
pm2 save # saves the running processes
|
|
# if not saved, pm2 will forget
|
|
# the running apps on next boot
|
|
|
|
|
|
# check status
|
|
pm2 list
|
|
|
|
# IMPORTANT: If you want pm2 to start on system boot
|
|
pm2 startup # starts pm2 on computer boot
|
|
``` |