In this tutorial, we are going to create and deploy the sample applciation, MeteorJS Todos, as a Universal Windows App that can run on the Raspberry Pi 2 as well as any other Windows Device.
To download the app, open your terminal and type:
meteor create --example todos
This will create a new folder called todos with all of the files that a Meteor app needs.
To run the newly create app, open your terminal and type:
cd todos
meteor
Open Edge and go to http://localhost:3000 to see the app running. It should look like the picture to the left.
Now that we have tested the app locally, let's deploy it to the web so we can use that URL to make a hosted web app.
Go to your directoy and type:
meteor deploy my_app_name.meteor.com
Once it's done, you can navigate to http://my_app_name.meteor.com to play with your app.
Follow this tutorial to deploy your newly MeteorJS app as a Windows Universal Platform app.