This demo application showcases how to structure and optimize a MontageJS application for tablets.
##Installation
To run this demo locally you need:
- A web server of your choice. MontageJS applications are client-side applications with no particular back-end dependency.
- Cloned GitHub repo of this demo.
To run the Popcorn demo locally, follow these steps:
-
Clone the popcorn GitHub repo in your desktop.
-
Spin up your preferred HTTP server and point your browser to the associated port to serve the popcorn directory.
During development MontageJS applications rely on XHR to load their various components and modules, which is why you will need a web server to serve the demo.
If you happen to have minit, the Montage Initializer, installed (
npm install minit -g
) you can runminit serve
from within the demo directory to set up a server on demand.
##Dependencies The npm packages Popcorn depends on are versioned inside of the node_modules directory, in keeping with Node.js best practices. To update dependencies you'll need to have node and npm installed.
Folder / File | Description |
---|---|
assets | Contains global styles and images for the application. |
model | Contains the data model. |
index.html | Is the entry-point HTML document. |
LICENSE.md | Contains copyright information. |
package.json | Describes your app and its dependencies. |
README.md | Provides information about the demo application and how to install it. |
ui | Contains the user interface components of the demo application. |
node_modules | Contains the dependencies that power the demo application. |
Got questions? Join us on irc.freenode.net#montage.
Got feedback or want to report a bug? Let us know by creating a new GitHub issue.
This demo application was created by MontageJS.