Skip to content

Instantly share code, notes, and snippets.

@tmbo
Last active October 12, 2015 00:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save tmbo/3942354 to your computer and use it in GitHub Desktop.
Save tmbo/3942354 to your computer and use it in GitHub Desktop.
Oxalis installer
echo " "
echo " _____ _____ _____ "
echo "| __| | |"
echo "|__ | --| | | |"
echo "|_____|_____|_|_|_|"
echo " Oxalis installer "
command -v brew >/dev/null 2>&1 || {
echo ""
echo "~~~~ Installing homebrew ~~~~"
ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"
}
command -v node >/dev/null 2>&1 || {
echo ""
echo "~~~~ Installing node ~~~~"
brew install node
}
echo ""
echo "~~~~ Installing node modules ~~~~"
echo "~>>> BUT We need your password for that <<<~"
command -v coffee >/dev/null 2>&1 || {
echo ""
echo "~~~~ Installing coffee ~~~~"
sudo npm install coffee-script -g
}
command -v less >/dev/null 2>&1 || {
echo ""
echo "~~~~ Installing less ~~~~"
sudo npm install less -g
}
echo ""
echo "!!!! Finished installing node modules !!!!"
command -v mongo >/dev/null 2>&1 || {
echo ""
echo "~~~~ Installing mongodb ~~~~"
brew install mongodb
}
command -v git >/dev/null 2>&1 || {
echo ""
echo "~~~~ Installing git ~~~~"
brew install git
}
echo ""
echo "~~~~ Cloning oxalis project ~~~~"
git clone git@github.com:scalableminds/oxalis.git
cd oxalis
echo ""
echo "!!!! FINISHED :) !!!!"
echo "!!!! Create a binary data folder in oxalis/binaryData, start mongod and run sbt !!!!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment