Skip to content

Instantly share code, notes, and snippets.

@chrisco
Forked from seanpat09/setupSalesforce.md
Created September 7, 2016 01:33
Show Gist options
  • Save chrisco/36baaea14eec7dd3ad4220e52d62bf23 to your computer and use it in GitHub Desktop.
Save chrisco/36baaea14eec7dd3ad4220e52d62bf23 to your computer and use it in GitHub Desktop.

#Setting Up Salesforce

###Install these!

brew update
brew install ant

###Setup your development environment

  • Get your Salesforce security token from your org
    • Log into Salesforce. In the top right, click your name and select My Settings
    • In the Quick Find box in the sidebar, search for Reset My Security Token. Click the link that appears and reset your token. You'll get an email with your new token.
  • Open the Mavensmate desktop app. Click the hamburger menu in the top left and choose Settings. In the Workspaces (mm_workspace) section, you need to add a path to where Mavensmate will look to create your projects. (It's not really clear, but this page will autosave)

For example:

[
  "/Users/itsame/Projects/mavensmate/"
]
  • In Terminal, navigate to the folder from above and clone this repository into that folder
  • Open the repository in Sublime Text
  • Right click the base folder (probably named salesforce), choose MavensMate > Create Mavensmate Project
  • This opens up the MavensMate App. enter your salesforce.com username for the sandbox. Your password is the password for your sandboxes + your security token. Example:
Password: hello123
Security Token: asdi3m48di9kfie032kiro04090eie3
Use this: hello123asdi3m48di9kfie032kiro04090eie3
  • Choose "Sandbox" in the dropdown below the password input
  • Click Create MavensMate project

You're done! Now whenever you save a file, it will deploy to your sandbox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment