-
Notifications
You must be signed in to change notification settings - Fork 18
Install guide
Michael Koster edited this page Jun 29, 2015
·
4 revisions
IoT Toolkit install guide (Linux)
(make user)
sudo adduser iot-toolkit
sudo adduser iot-toolkit sudo
su - iot-toolkit
sudo apt-get install git
git clone https://github.com/connectIOT/iottoolkit
sudo apt-get install python-virtualenv
virtualenv --no-site-packages venv/
source venv/bin/activate
python setup.py develop
(Then make a script to start up IoT Toolkit with some instance)
source /home/iot-toolkit/iottoolkit/venv/bin/activate
python /home/iot-toolkit/iottoolkit/examples/InstanceConstructor.py &
(and run it from rc.local)
su -l iot-toolkit -s /bin/bash -c "/home/iot-toolkit/iottoolkit/startup.sh"