-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetupnotes.txt
91 lines (70 loc) · 2.64 KB
/
setupnotes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
setup:
some notes around getting the development env working on pi
on setting up the first time, take care of some stuff on the /boot partition:
Add the line "lcd_rotate=2" adn "disable_overscan=1" to the top of /boot/config.txt
add empty ssh file to /boot
devzeroasaservice:~ eoosting$ cat wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=US
network={
ssid="aerial"
psk="********"
key_mgmt=WPA-PSK
}
Now that it's booted:
sudo vi /etc/hostname
#set the timezone
sudo dpkg-reconfigure tzdata
http://blog.benjie.me/building-a-slack-bot-to-talk-with-a-raspberry-pi/
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get upgrade
# we need to be able to use pip, so tryin installing these
# from: http://www.isendev.com/app/entry/39
sudo apt-get install build-essential python-dev python-pip
sudo apt-get clean
# code from novalabs Scott Bennett
https://github.com/swb1701/NotiPi
sudo pip install psutil
# someplace I found that this slack client works without throwing errors, without it slack didn't work in python
sudo pip install slackclient==1.0.5
#edit /etc/rc.local to trigger ipannounce.py on boot like ... put in before exit 0
(sleep 10;python ~pi/bin/ipannounce.py)&
or:
#(sleep 10;python ~pi/bin/ipannounce.py)&
(sleep 20;python ~pi/bin/pibot.py)&
mkdir bin
cd bin
curl -O https://raw.githubusercontent.com/eoosting/pi/master/getgit.sh
chown pi:pi getgit.sh
chmod ugo+rx getgit.sh
curl -O https://raw.githubusercontent.com/eoosting/pi/master/setupnotes.txt
curl -O https://raw.githubusercontent.com/eoosting/pi/master/bluenotes.txt
curl -O https://raw.githubusercontent.com/eoosting/pi/master/audionotes.txt
curl -O https://raw.githubusercontent.com/eoosting/pi/master/ipannounce.py
curl -O https://raw.githubusercontent.com/eoosting/pi/master/pibot.py
curl -O https://raw.githubusercontent.com/eoosting/pi/master/mqttnotes.txt
curl -O https://raw.githubusercontent.com/eoosting/pi/master/irnotes.txt
curl -O https://raw.githubusercontent.com/eoosting/pi/master/gitnotes.txt
curl -O https://raw.githubusercontent.com/eoosting/pi/master/rpi-hdmi.sh
#curl -O https://raw.githubusercontent.com/eoosting/pi/master/slackcreds.py
#dakboard setup:
# https://blog.dakboard.com/diy-wall-display/
sudo apt-get install unclutter
sudo apt-get install -y rpi-chromium-mods
vi /boot/config.txt
---
# Display orientation. Landscape = 0, Portrait = 1
display_rotate=1
# Use 24 bit colors
framebuffer_depth=24
---
sudo vi /home/pi/.config/lxsession/LXDE-pi/autostart
---
@xset s off
@xset -dpms
@xset s noblank
@chromium-browser --noerrdialogs --incognito --kiosk https://dakboard.com/app/?p=YOUR_PRIVATE_URL
---