node & npm
our project uses node to run. please make sure command node
and npm
exists before you try to run
ruby & gem
since our project uses compass, you will also need ruby
and gem
installed on your comptuer
git clone https://github.com/guy-mograbi-at-gigaspaces/qa-project.git
cd qa-project
simply run
./setup.sh
you should follow the setup.sh script and do what it does. basically it does the following
- run
npm install -g grunt-cli
- to install thegrunt
command - run
npm install -g bower
- to install thebower
command - run
gem install compass
- to install thecompass
command - run
npm install
- to install project backend dependencies - run
bower install
- to install project frontend dependencies - run
grunt
to build the project including css files
Create ‘backend/dev’ folder & add conf.js file:
module.exports = {
"testResultsDB" : {
"user" : "__mysql_username__",
"host":"__mysql_hostname__",
"port":"__mysql_port__",
"database":"__mysql_db__"
},
"s3":[],
"metricDB" : {}
};
Then run NodeJS:
node server.js