An example single-page application that uses Ember.js for the client framework and ember-mobile and Windows Azure Mobile Services for data.
-
Provision a new Windows Azure Mobile service and create a table named 'posts'. Obtain the connection information for this new table. This has some details on accomplishing that.
-
Edit the app.js file and use the values obtained from the previous step to fill out this line:
var client = new WindowsAzure.MobileServiceClient('https://yourmobilesvc.azure-mobile.net/', 'yourmobilesvckey');
-
Use the following commands from the emberapp directory to install the various bits it requires:
npm install bower install
You may also need to install Ruby, and the Compass gem.
-
Start the local server with
grunt server
. This should launch the browser and display the application.