Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. In a Terminal window, navigate to the umobile-ui directory.
  2. Execute the below command in the Terminal window.

    Code Block
    grunt prod --environment=ios --auth=local
  3. The above command starts the build process for the uMobile source code. The build process configures the uMobile source code with the necessary dependencies needed to run in a given environment. Currently, the uMobile project supports AndroidiOS and Web platforms. Once the build completes a www directory will be added to the umobile-ui directory. The www directory houses the production-ready code base to be used with the PhoneGap wrapper. Please see the documentation on the uMobile HTML5 build for more information on configuring the build script.

  4. Once built, execute the below command to push the built code to the PhoneGap www directory.

    Code Block
     grunt push.prod
  5. Your project directory should like similar to below graphic:
     

...

Start the uMobile Server

  1. The requirements section of this documentation states that you need to download and start the uMobile quickstart (i.e., uMobile 1.1RC1). The uMobile quickstart houses all the content leveraged by the uMobile application for this tutorial. For more information on the uMobile quickstart visit the project's main site.
  2. Once the uMobile server is downloaded and extracted. Navigate to the root folder and execute the following command:

    Code Block
     ant start

Run uMobile with the iOS Simulator

...