Stories Dashboard
To startup rails and chromium when the raspberry PI startup.
- Clone repo, open Terminal enter this code
clone git@github.com:namiwang/stories-dashboard.git```
1
2
3
4
5
6
2. **Install gems**, run this lines of codes separately
```cd stories-dashboard```
```bundle
- Change path, if the path you choose don’t like this
/home/pi/workspace/stories-dashboard
, you must edit two files in stories-dashboard/app/bin
startup
change
cd /home/pi/workspace/stories-dashboard
into/yourpath/stories-dashboard``` 1
2
3
4
5
6
7
- rc.local
change
~~```su pi -c "exec /home/pi/workspace/stories-dashboard/bin/startup"```~~
into
```su pi -c "exec /yourpath/stories-dashboard/bin/startup"reboot
Prohibited raspberry PI sleeping
- Open Terminal enter this command
nanolink 1
2
3
4
5
6
7
8
9
10
11
2. Press **"Ctrl + w"** to find ==[Seat:*]==, after this few lines you will see
```# xserver-command=X```
change it into
```xserver-command = X -s 0 -dpms```
it means to Close the screen saver and Display Power Management Signaling.
3. > ```reboot