-
Notifications
You must be signed in to change notification settings - Fork 90
Home
charleshansen edited this page Apr 2, 2015
·
3 revisions
#Setting up a new pairing station:
If your machine was imaged for you on Mavericks, you need to start from the beginning, even though you might not think so. A machine that starts on Mavericks and upgrades to Yosemite is likely to have installation problems (e.g. You cannot install Nokogiri).
- To check, go system preferences -> network and check if your IP falls in 10.80.-.- 1. If not, send an ask ticket requesting that your machine be put on the Cloud Foundry wired network. They will want machine name and MAC address.
- Start up machine while holding down the 'option' key, there should be a network drive available. You may have to wait a little for it to show up.
- Select the pristine Yosemite image (even if it says only for Abhi and Kam) and begin imaging process.
- Wait for a while, play some ping pong. It will restart a few times.
- Follow the Readme instructions at https://github.com/pivotal-cf/sprout-wrap
1. You will need to install xcode, and open it up to accept the agreement
- This requires an Apple account. You can get the account ID from an existing computer in the App Store under the 'account' quick link. The password is the 8th oldest Pivotal pairing station password but with the first letter capatilized. If this is not helpful enough send an ask ticket requesting the credentials for apple account access. 2. In step 4 of the Readme, there is no private key under Volumes. You need to 'ssh-keygen' and then add the new key to your github account 3. After you have added the ssh-key, you will need to clone something from github (any repo) to confirm github as a host. 4. In step 6, cd into the 'cf-jarvice-ui' folder in sprout-wrap and run 'soloist'
- You will run soloist multiple times. Just keep running it unless you get the same error message twice in a row. You will need to run soloist about 5 times most likely.
- Go to Preferences -> Editor -> Colors and Fonts -> Font and change the font size to 16.
- Go to Preferences -> Editor -> Code Style and change tab/indent/continuation indent sizes to 2 for JavaScript/css/scss/html/JSON, and anything else that is needed.
- Go to Preferences -> Languages & Frameworks -> JavaScript and set the javascript language version to JSX Harmony.
- Copy https://github.com/pivotal/pivotal_ide_prefs/blob/master/pref_sources/RubyMine/templates/jasmine.xml into ~/Library/Preferences/WebStorm10/templates/jasmine.xml This will give you Jasmine live templates after you restart Webstorm.
- Adding a hot key for swapping between test and implementation code
1. git clone xray
2. roughly follow the directions from http://pivotallabs.com/swapping-javascript-spec-implementation-rubymine/
- Use the script xray/scripts/open_spec_or_impl.sh instead of step 1 in the blog post
- Use Webstorm instead of Rubymine
- After going to RubyMine -> Preferences -> External Tools -> + in step 2 of the blog post, set 'Working Directory' to
$ProjectFileDir$ and uncheck the 'open console' box.