NO LONGER MAINTAINED - SEE README
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
www
.gitignore
.travis.yml
Gruntfile.js
LICENSE
README.md
Screenshot.png
package.json

README.md

NO LONGER MAINTAINED SEE https://github.com/feedhenry-templates/sync-cordova-app for a more up to date app

FeedHenry Data Sync Tutorial

Grunt

This template uses Grunt, the Javascript Task Runner. To use Grunt with this Template App, do the following:

  • Install grunt: npm install -g grunt-cli
  • In your App directory, run: npm install. This installs Grunt plugins, etc for use with this App.
  • Run grunt serve to preview this App locally

FeedHenry local development

You can also use Grunt to point your App at a local developement server. To do this, use the grunt serve:local command. Some notes on using the serve:local task:

  • by default, the local server development url is: http://localhost:8001
  • you can change this directly in your local Gruntfile.js, in the app config:
  app: {
    // configurable paths
    app: 'www',
    url: '',
    default_local_server_url: 'http://localhost:8001'
  },
  • you can also pass a 'url' optional flag to server:local, e.g. grunt serve:local --url=http://localhost:9000

  • You can also write your own tasks by extending the Gruntfile.js, e.g. add a 'serve:live' target that hits your server in your FeedHenry live enivronment.