Skip to content

Instantly share code, notes, and snippets.

@DinisCruz
Last active August 29, 2015 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DinisCruz/f5418633e54e6fea8cbd to your computer and use it in GitHub Desktop.
Save DinisCruz/f5418633e54e6fea8cbd to your computer and use it in GitHub Desktop.
TM QA install script
#!/bin/sh
if [ ! -f ./TM_4_0_QA ]; then
echo Folder TM_4_0_QA exists so doing a git pull
cd TM_4_0_QA
git pull origin
git submodule update
#ls -l
else
echo Folder TM_4_0_QA does not exists so doing a git pull
git@github.com:TeamMentor/TM_4_0_QA.git
git submodule install
echo 'aaaa '
ls -l
fi
git submodule init
git submoduke update
echo **** Installing dependecies
cd TM_4_0_Design
npm install
cd ../TM_4_0_GraphDB
npm install
cd ..
npm install
echo *** running tests
cd TM_4_0_Design
npm test
cd ../TM_4_0_GraphDB
npm test
cd ..
#bin/start-servers.sh
#npm test
echo *** all done
cd ..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment