Skip to content

Instantly share code, notes, and snippets.

@seanpat09
Created June 21, 2016 22:03
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save seanpat09/02bc1a9e86919ffc8acb60a1c4c5de03 to your computer and use it in GitHub Desktop.
Save seanpat09/02bc1a9e86919ffc8acb60a1c4c5de03 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