From 1a7b6e1770e5874c718ce55df8113088006a535e Mon Sep 17 00:00:00 2001 From: KKudryavtsev Date: Thu, 4 Feb 2016 23:28:22 +0000 Subject: [PATCH] installing node 12 --- install-parity.sh | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/install-parity.sh b/install-parity.sh index fed8b2b00..d33f31bc9 100755 --- a/install-parity.sh +++ b/install-parity.sh @@ -7,12 +7,6 @@ function run_installer() { ####### Init vars - HOMEBREW_PREFIX=/usr/local - HOMEBREW_CACHE=/Library/Caches/Homebrew - HOMEBREW_REPO=https://github.com/Homebrew/homebrew - OSX_REQUIERED_VERSION="10.7.0" - - declare OS_TYPE declare OSX_VERSION declare GIT_PATH @@ -198,9 +192,11 @@ function run_installer() info "Building Parity..." cargo build --release + sudo cp target/release/parity /usr/bin/ + echo info "Parity source code is in $(pwd)/parity" - info "Run a client with: ${b}cargo run --release${reset}" + info "Run a client with: ${b}cargo run --release${reset} or just ${b}parity${reset}" } function linux_installer() @@ -223,7 +219,9 @@ function run_installer() secret=$(prompt_for_input "Please enter the netstats secret:") instance_name=$(prompt_for_input "Please enter your instance name:") contact_details=$(prompt_for_input "Please enter your contact details (optional):") - + + curl -sL https://deb.nodesource.com/setup_0.12 | bash - + sudo apt-get update # install ethereum & install dependencies sudo apt-get install -y -qq build-essential git unzip wget nodejs npm ntp cloud-utils