Giter VIP home page Giter VIP logo

mavensmate's Introduction

MavensMate

MavensMate is a TextMate bundle that aims to replicate the functionality of the Eclipse-based Force.com IDE. In its current state, MavensMate enables developers to create Salesforce.com projects, connect them to SVN, create certain types of metadata, and compile and retrieve metadata, all from TextMate.

Installation

Preparing TextMate for Ruby 1.9+

In order for TextMate to run Ruby 1.9+, we'll need to do a little legwork:

1. Install rvm (Ruby Version Manager) if you have not already:

``` $ bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer ) ```

2. Install Ruby 1.9.2:

``` $ rvm install 1.9.2 $ rvm use 1.9.2 --default ```

3. Update TextMate's osx-plist for Ruby 1.9:

``` $ git clone git://github.com/kballard/osx-plist.git $ cd osx-plist/ext/plist $ ruby extconf.rb && make $ cp plist.bundle /Applications/TextMate.app/Contents/SharedSupport/Support/lib/osx/ ```

4. Make TextMate aware that we want to use Ruby 1.9.2:

Prepend your Ruby 1.9.2 installation location to your TextMate PATH shell variable. Your PATH shell variable should look something like:

/Users/username/.rvm/rubies/ruby-1.9.2-p290/bin:/usr/bin:/usr/sbin

Create a TextMate shell variable named GEM_PATH and set it to the path of your newly installed 1.9.2 gems. Should look something like:

/Users/username/.rvm/gems/ruby-1.9.2-p290

5. Now, let's install a couple of gems:

``` $ gem install savon $ gem install rubyzip ```

*Note: DO NOT use sudo to work with RVM gems (http://beginrescueend.com/rubies/rubygems)

6. Finally, we need to create a TextMate shell variable that tells MavensMate where to put your projects. Create a shell variable named FM_PROJECT_FOLDER and set it the location of your choice:

``` /Users/username/development/projects ```

Finally! Installing MavensMate

Installing MavensMate via Git (recommended)

``` $ mkdir -p ~/Library/Application\ Support/TextMate/Bundles $ cd ~/Library/Application\ Support/TextMate/Bundles $ git clone git://github.com/joeferraro/MavensMate.tmbundle.git "MavensMate.tmbundle" $ osascript -e 'tell app "TextMate" to reload bundles' ```

Installing MavensMate manually

  1. Download this project
  2. Unzip and rename the parent directory to "MavensMate.tmbundle"
  3. Double click "MavensMate.tmbundle". TextMate will automatically install the bundle
  4. Open TextMate, go to Preferences --> Advanced --> Shell Variables and add a Shell Variable called "FM_PROJECT_FOLDER" with the value being the location where you'd like your Salesforce.com projects to reside (for example: '/Users/joe/Projects') [*notice the absolute path*]

MavensMate Shortcut Keys (configurable)

Open MavensMate options:

Control + Option + Command + M

Compile current metadata:

Control + Option + Command + C

Some extra goodies

We recommend the following to augment MavensMate:

Screenshots

mavensmate's People

Stargazers

 avatar

Watchers

 avatar  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.