-
Notifications
You must be signed in to change notification settings - Fork 8
Development machine setup
If you are using WebStorm, you are effectively already set up. Just clone the rep and pull it locally.
-
You will need a Java SDK installed. If you need a Java SDK, you can download one at http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)
-
Open the terminal window and navigate to your project directory
-
You will need Ruby and Sass. Mac OS X comes with Ruby pre-installed. If you do not have Sass installed, run
gem install sass
-
If you do not have Homebrew, run
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
-
If you do not have node.js, run
brew install node
-
Run
npm install
to get all of the components listed in package.json -
Run
brew install mongodb
(you can use either thelaunchctl
(persistent) or one-time loader as shown by the brew install.) If this does not work, trybrew install -g mongodb
-
Run
npm install -g bower
-
Run
npm install -g grunt-cli
-
bower install
to install all of the components in bower.json -
npm install protractor
(may be unnecessary ... already in package.json) -
From farseer/node_modules/grunt-protractor-runner/node_modules/protractor/bin run
./webdriver-manager update --standalone
to make the selenium standalone server available
- Go to the terminal window of WebStorm
- From farseer/node_modules/grunt-protractor-runner/node_modules/protractor/bin run
./webdriver-manager start
in the terminal window to start selenium - Run
launchctl load homebrew.mxcl.mongodb.plist
to start mongoDb. - In a separate terminal window, run
grunt
to build the system and run the tests, then rungrunt serve
- Use a browser to navigate to "localhost:port_number" as specified by the output of the command. Defaults to 9000. This allows browser-based interaction with your local site.