- ssh into your pi
- run
wget -qO- XXXXXXXX/install.sh | bash
- dont forget to
sudo raspi-config
and change the boot options tocommand line (auto login as user pi)
- to change the video file which plays on boot, alter the video file path in your
~/.bashrc
or change the filepath in the installer script before running it!
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install usbmount
- install nvm & node.js latest:
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
source ~/.bashrc
to load nvmnvm install stable
to install npm & node.jsnpm install -g forever
to install foreversudo apt-get install git
git clone
the project you want to use- setup the auto run on startup (above)
- setup the AP mode on the pi
- setup auto loading of the project with a host apd config (below) -- not working!
- install FTP Access
- run
sudo raspi-config
, navigate to the boot options and choosecommand line (auto login as user pi)
- install forever:
npm install forever -g
nano ~/.bashrc
- find the line to load NVM
export NVM_DIR="/home/pi/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
or something similar - add
forever start ~/XXXXXXXXXX/server.js
below the NVM listeners ctrl+x
thenY
thenEnter
to savesudo reboot
# Network Authentication Type
# This parameter indicates what type of network authentication is used in the
# network.
# format: <network auth type indicator (1-octet hex str)> [redirect URL]
# Network Authentication Type Indicator values:
# 00 = Acceptance of terms and conditions
# 01 = On-line enrollment supported
# 02 = http/https redirection
# 03 = DNS redirection
#network_auth_type=00
#network_auth_type=02http://www.example.com/redirect/me/here/