Skip to content

Commit a98c67a

Browse files
author
Cole Gleason
committed
documentation, yay\!
1 parent c0055ec commit a98c67a

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

Documentation/Production-Notes.md

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
Production Notes
2+
================
3+
4+
Chroma is currently running on `siebl-1104-06` and the code is in `/opt/chroma`.
5+
6+
Restarting the server
7+
=====================
8+
To restart the server, do the following on the machine.
9+
10+
```
11+
sudo su
12+
cd /opt/chroma/chroma-scripts
13+
source activate
14+
cd osc
15+
screen python oscapi.py
16+
# Check for errors. If the screen stays blank, then do Ctrl-a d to detach from the screen.
17+
exit
18+
```
19+
20+
Running an animation
21+
====================
22+
If the server is running, run an animation with:
23+
```
24+
cd /opt/chroma/chroma-scripts
25+
source activate
26+
screen python run.py [animation name] # pass -h to see possible animations
27+
# if no error, then Ctrl-a d to detach screen
28+
exit
29+
```
30+
31+
Troubleshooting
32+
===============
33+
34+
* Try restarting the power supply (by pulling the plug).
35+
* Tey unplugging and plugging the USB cords (on the hub) back in.
36+
* Verify that all of the devices in `osc/devices.txt` actually exist. If they do not then try the above regarding USB ports.

0 commit comments

Comments
 (0)