Skip to content

Commit 30038bd

Browse files
author
upperboundcom
committed
Added some URLs
1 parent 0d37203 commit 30038bd

File tree

1 file changed

+21
-5
lines changed

1 file changed

+21
-5
lines changed

README.md

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ http://upperbound.com/projects/drinkbot/
66

77
There are a few other dependencies:
88

9-
* MongoDB (for data storage)
10-
* picotts (for text-to-speech synthesis)
11-
* mpg123 (for playing MP3 audio files)
9+
* [MongoDB](http://mongodb.com) (for data storage)
10+
* [pico2wave](http://my-small-projects.blogspot.com/2016/01/raspberry-pi-text-to-speech-pico2wave.html) (for text-to-speech synthesis)
11+
* [mpg123](https://www.mpg123.de/) (for playing MP3 audio files)
1212

1313
## To start the application
1414

@@ -17,7 +17,7 @@ Change to the folder where you downloaded the files.
1717
Start the backend:
1818

1919
```
20-
$ node backend.js &
20+
$ sudo node backend.js &
2121
```
2222

2323
Start the web front-end:
@@ -27,7 +27,23 @@ $ cd frontend
2727
$ node server.js &
2828
```
2929

30-
If you want to start it at boot, you can add this to your crontab (your paths may be different):
30+
If you want to start it at boot, you can do the following:
31+
1. Install [forever](https://github.com/foreverjs/forever):
32+
33+
```
34+
$ sudo npm install -g forever
35+
```
36+
37+
38+
2. Add this to your crontab (your paths may be different):
39+
40+
Run:
41+
42+
```
43+
$ crontab -e
44+
```
45+
46+
and then add:
3147

3248
```
3349
@reboot export NODE_PATH=/usr/lib/nodejs:/usr/lib/node_modules:/usr/share/javascript && sudo -E /usr/bin/forever start -o /home/pi/projects/nodeapps/drinkbot/backend.log -e /home/pi/projects/nodeapps/drinkbot/backend.err /home/pi/projects/nodeapps/drinkbot/backend.js

0 commit comments

Comments
 (0)