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

mobify/deprecated-mobify-tech-prtnr-na03-dw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#mobify-tech-prtnr-na03-dw

This repository contains the code for the mobify-tech-prtnr-na03-dw Adaptive.js project.

Documentation

For documentation for Adaptive.js, including tool installation, and information on running your project in the Mobify Cloud, please see our cloud documentation.

Support

Please contact support@mobify.com for assistance.

Project Information

Installation

To install, first clone the repository:

git clone https://github.com/<organization>/mobify-tech-prtnr-na03-dw.git

Running locally

Adaptive.js uses grunt.js to run, build, test, and deploy. The following grunt tasks are available:

grunt preview

Builds the project and runs a local development server, allowing the project to be run locally. The preview command additionally outputs the preview URL of the target site, allowing you to easily navigate to preview.mobify.com to enable previewing.

For more information on previewing, please see our preview documentation.

grunt lint

Runs jshint and jscs against the project, ensuring that code style and stynax are correct. For more information on lint errors, please see jslinterrors.com.

To find out more about Mobify's code style rules, please see the Mobify Code Style repository.

grunt test

Runs our unit and integration tests.

// runs tests in the terminal/command line
grunt test

// runs tests in the browser, viewable at http://localhost:8888/tests/runner
grunt test_browser

grunt nightwatch

Runs nightwatch, our WebDriver system test framework written in Node.js.

// runs all tests
grunt nightwatch

// runs a specific group
grunt nightwatch --group path/to/my/tests/

// runs a specific test file
grunt nightwatch --test path/to/my/tests/test.js

grunt push

Builds and deploys a version of this project to cloud.mobify.com.

grunt push -m "Bundle for January 1st"