-
Notifications
You must be signed in to change notification settings - Fork 6
Cloud setup
Jake Hartnell edited this page May 8, 2017
·
9 revisions
You can easily host your own Grow-IoT instance on Meteor Galaxy. See the Meteor Galaxy website for instructions on hosting a new meteor application.
See instructions in Grow.js for securely connecting devices to the instance.
To deploy on AWS, launch an Ubuntu instance of appropriate size and edit the security group's inbound rules so that traffic is allowed on ports 80
and 443
. Additionally, if you want to have another instance running InfluxDB (or want to connect to their cloud offerings), be sure to open up port 8086
.
Install nvm, node, and meteor, then clone the repo, enter the new directory, and install dependencies:
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
nvm install 4.8.2
curl https://install.meteor.com/ | sh
git clone https://github.com/CommonGarden/Grow-IoT
cd Grow-IoT
meteor npm install
Great! We're not done yet. Now we're going to install and setup meteor-up which we will use for deployments. Do so with:
npm install -g mup