Skip to content
This repository has been archived by the owner on Aug 5, 2020. It is now read-only.

Latest commit

 

History

History
57 lines (34 loc) · 1.59 KB

README.md

File metadata and controls

57 lines (34 loc) · 1.59 KB

Mobify.js

Mobify.js is a client side adaptation framework for quickly adapting websites to support mobile and tablet devices.

This repository contains the Mobify.js core. The Mobify Client is required to compile the core.

To get started with Mobify.js, follow the instructions on mobifyjs.com.

Install

make

Tests

Running the tests requires PhantomJS:

make test

Updating Mobify Service APIs

Mobify.js includes javascript client APIs for Mobify;s image and javascript optimization web services. To get the latest versions of these APIs, go to the vendor/mobify-service-clients directory, and adjust bower.json to install the versions of the client libraries you want. You can then run grunt build to build a new version of the shim.

Docs

The compiled documentation for Mobify.js can be found online at mobifyjs.com.

To compile the documentation yourself, install Jekyll and run it from www folder:

gem install jekyll
cd www
jekyll --server --auto

Then navigate to http://localhost:4000/mobifyjs/docs/.

Modules

Mobify.js includes a library customizable user interface modules in the modules folder.

To package the modules for download use this command (they will be stored in /static/downloads):

make modules

Build mobifyjs.com

When creating a build of mobifyjs.com for release, execute this command:

make buildstatic

And then copy the generated "_site" folder to where the site will be hosted.