Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Changes in prep for Dreamforce

latest commit 758b1aa506
Amir Nathoo authored September 16, 2012
Octocat-spinner-32 css Fix styling July 16, 2012
Octocat-spinner-32 img Fix styling July 16, 2012
Octocat-spinner-32 js Changes in prep for Dreamforce September 16, 2012
Octocat-spinner-32 .gitignore Basic checkin functionality works July 15, 2012
Octocat-spinner-32 README.rst Typo September 05, 2012
Octocat-spinner-32 config.json Changes in prep for Dreamforce September 16, 2012
Octocat-spinner-32 index.html Changes in prep for Dreamforce September 16, 2012
README.rst

How to build Sales Square

Sales Square is built using Trigger.io, here are the steps to build and test this app on a Mac in the iOS emulator.

The steps to test on Windows / Android are similar and you can find more information here on Getting started with Trigger.io.

Install the Trigger.io Toolkit

  1. Install the toolkit from https://trigger.io/forge/toolkit
  2. Start the Toolkit and create an account
  3. Create a new app and note the app directory

Getting the code

  1. Open a terminal and navigate to your app directory.
  2. Copy your identity.json file away and remove the template contents in the src directory:
    • cd src
    • mv identity.json ..
    • rm -rf *
  3. Checkout this repository and copy the identity.json file back:

Running the app

  1. In the Toolkit, click on the app name to build it. The first time this will take a minute or so, subsequent incremental builds will be very fast.
  2. Then click 'iOS' in the Run section of the app page. You'll see the full console output there and the iPhone emulator will start up in a few seconds.

Testing the app

The app includes photo-taking functionality so to test that in the emulator, you need to have photos pre-loaded. Instructions on how to set that up are here: http://stackoverflow.com/questions/468879/adding-images-to-iphone-simulator

Something went wrong with that request. Please try again.