diff --git a/README.md b/README.md index 5858fde..5dac7f1 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Fast Intelligent Continous Integration For Node ## getting started -- bin/initialize.sh which will setup nvm and iojs for you. +- bin/initialize.sh which will setup nvm and 0.10 for you. - git clone https://github.com/fishin/ficion or npm install ficion - on a github account (generate a clientId and clientSecret to be used for github integration) - see https://auth0.com/docs/github-clientid. - Additional pieces of info I used are: diff --git a/bin/initialize.sh b/bin/initialize.sh index 043abfd..6d6bb0d 100755 --- a/bin/initialize.sh +++ b/bin/initialize.sh @@ -1,23 +1,23 @@ #!/bin/bash -IOJS_VERSION="2.5.0" +NODEJS_VERSION="0.10.40" if [ ! -e ~/.nvm/nvm.sh ]; then echo "Installing nvm" curl https://raw.githubusercontent.com/creationix/nvm/v0.24.1/install.sh | bash else - echo "Looking like you have nvm installed" + echo "nvm installed" fi source ~/.nvm/nvm.sh NODE_VERSION=$(node --version) -if [ "${NODE_VERSION}" != "v${IOJS_VERSION}" ] +if [ "${NODE_VERSION}" != "v${NODEJS_VERSION}" ] then - echo "Installing iojs" - nvm install iojs-${IOJS_VERSION} + echo "Installing node ${NODEJS_VERSION}" + nvm install ${NODEJS_VERSION} else - echo "Looks like you have iojs ${IOJS_VERSION} installed" + echo "node ${NODEJS_VERSION} installed" fi diff --git a/package.json b/package.json index 01c2783..33ed86f 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,9 @@ "bugs": { "url": "https://github.com/fishin/ficion/issues" }, + "engines": { + "node": ">=0.10.x" + }, "keywords": [ "ci", "continuous integration", "hapi", "scheduler" ], "homepage": "https://github.com/fishin/ficion", "dependencies": {