######Updates stock info on a Wink Nimbus using AWS Lambda functions
######Installation
git clone --recursive git@github.com:murali44/NimbusStocks.git
cd NimbusStocks
######Create a deployment package
virtualenv nimbusstock_env
source nimbusstock_env
zip -rg ~/NimbusStocks.zip *
pip install -r requirements.txt
cd $VIRTUAL_ENV/lib/python2.7/site-packages
zip -r9 ~/NimbusStocks.zip *
######Deploy to AWS Lambda
Create a lambda execution role. For more info see: [Link] (http://docs.aws.amazon.com/lambda/latest/dg/with-s3-example-create-iam-role.html)
Follow these instructions to upload the deployment package and create the lambda function. [Link] (http://docs.aws.amazon.com/lambda/latest/dg/with-s3-example-upload-deployment-pkg.html)