NOTE: to add things to environment variables, right click on My Computer
from Windows Explorer and click Properties
then Advanced
then Environment Variables
then System Variables
then double click/edit the Path
variable. Once you've edited/changed your Path, save and close and then RESTART any open command prompts / terminal / Git Bash windows for the change to take effect.
- install text editor of choice (i.e. Notepad++)
- install git ( http://git-scm.com/downloads )
- follow the default options during installation
- setup your github authentication
- Install node.js ( http://nodejs.org/download/ )
- Install MongoDB ( http://www.mongodb.org/downloads )
- Follow the instructions to intall: http://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/
- Add
[path to your mongo installation folder]\mongodb\bin
to your environmet so you can typemongod.exe
andmongo
from any location and it will work. - NOTE:
mongod.exe
may only work when specifying the--dbpath [path to mongodb]\data
command line option. You SHOULD be able to add that to themongod.cfg
file so you don't have to type it every time but for some reason it wasn't working unless typed on the command prompt sometimes... UPDATE: Try restarting your computer then opening a command prompt and typingmongo
and it may work now! :) If not, just create the folders in the default location... create a 'data' folder on 'C:' drive then create a 'db' folder in the 'C:\data' folder and then it should work..
- Add
- NOTE: Windows XP is NOT supported as of MongoDB 2.2 (or actually 2.1.2?) so use 2.0.9 - http://docs.mongodb.org/ecosystem/platforms/windows
- NOTE: make sure to match the build (i.e. 64 bit vs 32 bit) to your computer. Ideally use a 64 bit build since the 32 bit builds of mongo/ubuntu have a 2GB memory limit! http://www.mongodb.org/downloads#32-bit-limit.
- install it as a service so you don't have to run 2 command windows every time (it will start when your computer starts and run in the background).
- MongoDB requires 2 windows to run manually - one to run the service
mongod
and another to run the actualmongo
command to get into the database. But if you install as a service,mongod
will always be running so you can skip that first step. - restart your computer for this to work if you're having issues.. After restart you should just be able to type 'mongo' from a command prompt and it should work.
- MongoDB requires 2 windows to run manually - one to run the service
- Follow the instructions to intall: http://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/
- Install PhantomJS ( http://phantomjs.org/download.html )
- Once it's downloaded, add it to your system PATH (see above for how to get to your system Path)
- Add in
;[path to phantomjs folder]\
, i.e.C:\downloads\website\phantomjs\
then save and restart your command prompt window.
- Add in
- Once it's downloaded, add it to your system PATH (see above for how to get to your system Path)
- Install Java Runtime Environment (JRE) for running the Selenium Standalone Server for Protractor tests
- first check if you already have java installed by typing
java
on the command line - if it says something like 'command not found' that means it's not installed and/or it's not on your system PATH. Check your system PATH and add it if you already have Java installed, otherwise, follow the remaining steps below. - go here: http://www.oracle.com/technetwork/java/javase/downloads/index.html
- click the 'JRE' download button then select the version that matches your environment / operating system
- download then install
- add to your system PATH (so you can run
java
from the command line from any location), i.e.;C:\Downloads\Website\JavaRE\bin
- first check if you already have java installed by typing