Skip to content
This repository was archived by the owner on Jun 4, 2024. It is now read-only.

Commit b7fb2b1

Browse files
Update README.md
1 parent 7cd2ca1 commit b7fb2b1

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
## Raspberry Pi Realtime Streaming with Plot.ly
22

3+
First, install the required modules and dependencies
4+
```bash
5+
sudo apt-get install python-dev
6+
wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O - | sudo python
7+
sudo easy_install -U distribute
8+
sudo apt-get install python-pip
9+
sudo pip install rpi.gpio
10+
sudo pip install plotly
11+
```
12+
313
Create a config.json file in this directory and input your
414
plotly API key, and your generated plotly streaming tokens
515
Sign up to plotly here: https://plot.ly/ssu
@@ -77,4 +87,4 @@ while True:
7787
s.write({'x': i, 'y': sensor_data })
7888
i+=1 # increment 1 on the 'x' axis with each reading
7989
time.sleep(1) # delay between stream posts
80-
```
90+
```

0 commit comments

Comments
 (0)