This repository has been archived by the owner on Nov 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Development machine setup
ndubetz edited this page Mar 1, 2016
·
19 revisions
If using WebStorm, you are effectively already set up. Just clone the rep and pull it locally.
- 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
- You will also 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)
- Run
npm install
to get all of the components listed in package.json -
brew install mongodb
(you can use either thelaunchctl
(persistent) or one-time loader as show by the brew install.) - 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 - To validate your installation/setup, 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 ~/Library/LaunchAgents/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 --force
- 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.