From 791b7c18f744df5d58544b3e0d4a9672f09f4121 Mon Sep 17 00:00:00 2001 From: zeroxbt Date: Thu, 15 Dec 2022 14:58:30 +0100 Subject: [PATCH 1/2] update env and branch to mainnet --- installer/installer.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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" From 693791474649cf27d2db7e833374d8d2ea4604bc Mon Sep 17 00:00:00 2001 From: zeroxbt Date: Thu, 15 Dec 2022 15:02:55 +0100 Subject: [PATCH 2/2] update README --- installer/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ```