Coder Social home page Coder Social logo

sfcontacts's Introduction

Sample Salesforce contact manager app built on the Aerobatic HTML5 platform. You can see the app live at https://sfcontacts.aerobaticapp.com

Fork your own version

If you want to fork your own version of this app to play around with and extend, here's the steps to follow:

  1. Sign-in to Aerobatic at https://aerobaticapp.com/auth/github
  2. Click the Create App button
  3. Enter a name for your app
  4. Rather than clone the aerobatic-starter app, clone this repo. Alternatively you could fork it on GitHub then pull down your forked version.
git clone https://github.com/aerobatic/sfcontacts.git
  1. Create the .aerobatic file as instructed.
  2. Save the app.
  3. Now login to Salesforce and create a new connected app. This link will take you straight there.
  4. Check the Enable OAuth Settings box
  5. In the Callback URL box enter https://<your_app>.aerobaticapp.com/auth/callback where your_app is the name you provided in step 3.
  6. Add Access and manage your data (api) to the list of selected scopes
  7. In the Start URL enter https://<your_app>.aerobaticapp.com.
  8. Enter the other require fields and click Save.
  9. On the following screen copy down the Consumer Key and Consumer Secret.
  10. Back in Aerobatic, click on the Settings button on the right. On the settings screen scroll down to the Security section. Change the Authentication option to OAuth. Then select Salesforce as the OAuth provider and paste in the Client ID and Client Secret (Client ID = Consumer Key, Client Secret = Consumer Secret). Finally check the Require https box before clicking the Update App button.
  11. Open a terminal and cd to the directory where you cloned the repository.
  12. Run npm install & bower install. This assume you have node installed. Once node is installed you can run npm install -g bower.
  13. Run grunt sim --open to launch your app in simulator mode and play around in the code.
  14. When you're ready to push your changes to production, stop the simulator and run grunt deploy --cowboy.

Running Tests

At a commannd run: grunt test

sfcontacts's People

Contributors

dvonlehman avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.