sudo apt-get update
sudo apt-get install build-essential python-dev
cd /opt/
sudo git clone https://github.com/sparkgene/iot_farm_monitoring.git
sudo chown -R pi:pi iot_farm_monitoring
cd /opt/iot_farm_monitoring
sudo npm install npm -g
sudo npm install aws-iot-device-sdk
git clone https://github.com/adafruit/Adafruit_Python_DHT.git
cd Adafruit_Python_DHT
sudo python setup.py install
cd /opt/iot_farm_monitoring
cd /opt/
sudo git clone https://gist.github.com/j3tm0t0/65367f971c3d770557f3 sora
sudo mv /opt/sora/soracomair /etc/init.d/
sudo chmod 755 /etc/init.d/soracomair