A set of scripts for deploying services on Raspberry Pis for the Footstep WSN.
- Expand SD file system.
sudo raspi-configand selectExpand Filesystem. It'll run, selectFinishand then reboot now. - Create the Footstep project directory:
mkdir -p Footstep/config - Change to that directory:
cd Footstep/config - Clone this repository:
git clone https://github.com/dandanpan/multi-people-tracking.git . - Run
/bin/bash install.sh
Use this to update existing nodes.
- ssh into the raspberry pi
- Change to the footstep directory:
cd Footstep/config - Pull the latest code from git:
git pull. Enter the username and password when asked. - Run the deploy script
/bin/bash deploy.sh
- scripts/ - set of scripts for services to run
- services/ - services to install into init.d
- logs/ - logs will be outputted to this directory
- install.sh - main install script
- Python
- python-firebase
- node.js / npm
- pm2
- mqtt client
- vim
- ssh
- Node ID
- Reverse SSH Port
- Firebase API URL
- MQTT Server
- ssh Gateway (URL, account name, .pem)
- Submission API