Update 'README.md'
This commit is contained in:
parent
4f3e59c96b
commit
16d8a92834
27
README.md
27
README.md
|
@ -1,3 +1,28 @@
|
||||||
# Boto
|
# Boto
|
||||||
|
|
||||||
Twitch IRC Chatbot
|
Twitch IRC Chatbot
|
||||||
|
|
||||||
|
```
|
||||||
|
npm install tmi.js@1.5.0
|
||||||
|
npm install dotenv
|
||||||
|
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
|
||||||
|
```
|
Loading…
Reference in New Issue