- ssh into your pi
- run
wget -qO- XXXXXXXX/install.sh | bash - dont forget to
sudo raspi-configand 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
~/.bashrcor change the filepath in the installer script before running it!
sudo apt-get updatesudo apt-get upgradesudo apt-get install usbmount- install nvm & node.js latest:
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash source ~/.bashrcto load nvmnvm install stableto install npm & node.jsnpm install -g foreverto install foreversudo apt-get install gitgit clonethe 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 nvmor something similar - add
forever start ~/XXXXXXXXXX/server.jsbelow the NVM listeners ctrl+xthenYthenEnterto 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/