diff --git a/installer/README.md b/installer/README.md index b940c3d76a..2c707a134b 100644 --- a/installer/README.md +++ b/installer/README.md @@ -1,10 +1,10 @@ -Installs the V6 Beta Stage 1 Node +Installs the V6 Node 2. Login to the server as root. You __cannot__ use sudo and run this script. The command "npm install" __will__ fail. 3. Execute the following command: ``` -apt install git -y && cd /root && wget https://raw.githubusercontent.com/OriginTrail/ot-node/v6/develop/installer/installer.sh && chmod +x installer.sh && . installer.sh +cd /root/ && curl https://raw.githubusercontent.com/OriginTrail/ot-node/v6/release/mainnet/installer/installer.sh --output installer.sh && chmod +x installer.sh ``` diff --git a/installer/installer.sh b/installer/installer.sh index 963fd9d5aa..5deca808d0 100755 --- a/installer/installer.sh +++ b/installer/installer.sh @@ -50,8 +50,8 @@ install_aliases() { install_directory() { ARCHIVE_REPOSITORY_URL="github.com/OriginTrail/ot-node/archive" - BRANCH="v6/release/testnet" - BRANCH_DIR="/root/ot-node-6-release-testnet" + BRANCH="v6/release/mainnet" + BRANCH_DIR="/root/ot-node-6-release-mainnet" perform_step wget https://$ARCHIVE_REPOSITORY_URL/$BRANCH.zip "Downloading node files" perform_step unzip *.zip "Unzipping node files" @@ -254,7 +254,7 @@ install_node() { perform_step npm ci --omit=dev --ignore-scripts "Executing npm install" - echo "NODE_ENV=testnet" >> $OTNODE_DIR/.env + echo "NODE_ENV=mainnet" >> $OTNODE_DIR/.env perform_step touch $CONFIG_DIR/.origintrail_noderc "Configuring node config file" perform_step $(jq --null-input --arg tripleStore "$tripleStore" '{"logLevel": "trace", "auth": {"ipWhitelist": ["::1", "127.0.0.1"]}, "modules": {"tripleStore":{"defaultImplementation": $tripleStore}}}' > $CONFIG_DIR/.origintrail_noderc) "Adding tripleStore $tripleStore to node config file"