Thursday, April 9, 2015

How to get started with Mavensmate and Sublime Text

We already discussed in our previous blog , how admins can use Mavensmate to connect to Salesforce Metadata and make their life simpler. In this blog we will learn how to download and get started with Mavensmate. 




Given below steps are for windows 64 bit-

Step 1: Download Sublime text 3 and install on your machine, they have various links for windows, windows 64 bit, OSX etc. 


Step2: Browse and select the destination folder where you would like to store Sublime Text 3 files-

Step3: Click on Next

Step4: Click on Finish


We are half way through now, let us download Mavensmate

Step 5: Download MavensMate

Mavenmate is a sublime text plugin, you will find three options to download MavensMate, I prefer to go with the recommended option 1 via sublime text

(OPTION 1) Via Sublime Text Package Control (recommended)

Sublime Text Package Control must be installed: https://sublime.wbond.net/installation1

  1. Open Sublime Text 3 (Sublime Text 2 no longer supported)
  2. Run Package Control: Install Package command
  3. Search for MavensMate
  4. Hit Enter
(OPTION 2) Manual

(OPTION 3) As a Python Package


 

Step 6: Go to view-->show console -->copy paste this code 


Step7: Once the code is pasted you will find MavensMate tab on the top screen, you may receive this error while create the project, this is because you have not yet defined the path where MavensMate will store your project folders. Define the local path on the default settings file.


Step8: Go to C drive and create a folder in User--> Workspace--> mmdev. If you do not have a folder named workspace in user then create a new one. If you see the code in the given screenshot mm_workspace is empty so we have to paste our file path between the quotes " " 


Step9: Paste your file path here "mm_workspace" for example - “C:\\Users\\123sfdc\\workspace\\123”. You are all set to create projects in Mavensmate.


Step10: Go to Mavenmate tab--> Project--> New Project and you are all set.


Deployment: Go to Mavensmate--> Deploy to Server

Make your deployments simple and easy with mavensmate. After you build your stuff in development environment you can go to mavensmate and create projects. Once this is done choose your metadata from the subscription list and update it to create a package. Use this package to deploy between orgs, sandboxes and production environment using Mavensmate. 




This article is good enough to give you a kick start of how to download and began working with mavensmate, although there is lot more to learn and explore in this amazing tool. 


No comments:

Post a Comment