Skip to Content
Internet of Things with ESP8266
book

Internet of Things with ESP8266

by Marco Schwartz
July 2016
Intermediate to advanced
226 pages
4h 6m
English
Packt Publishing
Content preview from Internet of Things with ESP8266

Deploying the server

We are now going to deploy this software on your cloud server. First, you need to install Node.js if that's not been done yet. To do it, simply follow the instructions at:

https://nodejs.org/en/

We can then install some software called Meteor Up, which will really simplify the process of deploying the application on our web server.

Go to a terminal and type:

sudo npm install -g mup

Next, navigate to the folder in which you put all the files of the application, and initialize Meteor Up with:

mup init

This will create a file called mup.json inside the folder you are currently in. This is how this file will look:

{ // Server authentication info "servers": [ { "host": "0.0.0.0", "username": "root", //"password": "password" // or ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

ESP8266 Internet of Things Cookbook

ESP8266 Internet of Things Cookbook

Marco Schwartz
ESP8266 Robotics Projects

ESP8266 Robotics Projects

Pradeeka Seneviratne

Publisher Resources

ISBN: 9781786468024Supplemental Content