DreamHouse Mobile App
This repository hosts the source code and installation instructions for the DreamHouse mobile app. DreamHouse is an end-to-end sample application that demonstrates how to build apps on the Salesforce platform. Visit the DreamHouse Microsite for more information.
Install the Salesforce Back-end
Follow these instructions to install the Salesforce back-end.
Install the Application
Install the latest version of Cordova and Ionic 2 beta:
npm install -g cordova ionic
sudo npm install -g cordova ionic
Clone this repository:
git clone https://github.com/dreamhouseapp/dreamhouse-mobile-app
Navigate to the
Install the dependencies:
Run in your Browser
On the command line, make sure you are in the
Type the following command to run the app in the browser:
- If you don't see the OAuth window, enable popups and try again.
- Make sure you log in the org you installed the DreamHouse package in.
Build and Run on an iOS Device
Install the required plugins (including the Salesforce Mobile SDK plugin) and platform from config.xml:
The Salesforce Mobile SDK plugin currently requires cordova-ios version 4.2.0 which is automatically installed by
engineentry in config.xml).
Build the app for iOS:
ionic build ios
Click DreamHouse in the left sidebar
In the Signing section, select a team corresponding to a valid certificate
Click the Run button in the toolbar to run the application on your device.