Skip to content

Scripts engineered by HFactor to simplify tasks associated with the raspberry pi-4 in conjunction with QORTAL

Notifications You must be signed in to change notification settings

xspektrex/QORTectorScripts

Repository files navigation

🧑‍💻 ~ HFactor's Scripts and How-To's (Updated 11.19.23) ~ 🧑‍💻

This repository contains scripts and how-to's making tasks easier for users of the QORTector and home built pi4's taking part in the QORTAL blockchain. The scripts herein make use of the nodesource git for installing and updating Node.js utilized by the QORTAL UI.


‼️ Please Be Advised ‼️

‼️ The scripts herein should only be utilized with the distros, or any derivative distros, shown below ‼️

Debian Linux Ubuntu Linux Raspberry Pi OS


⚠️ Important Updates ⚠️

(2023 Mark-II)

  • Since the nodesource nodejs install procedure has changed there are now 2 sets of scripts.
    • Post 2023 mark-II repo change scripts prefixed with nothing
    • Pre 2023 mark-II repo change scripts prefixed with "prc_njs_

(2023 Mark-I) - (Depracated)

  • Since the qortal-ui repo has been restructured there are now 2 sets of scripts.
    • Post 2023 repo change scripts prefixed with nothing
    • Pre 2023 repo change scripts prefixed with "prc2023"

(2022) - (Depracated)

  • Since the UI repo has changed from "UI" to "qortal-ui" there are now 2 sets of scripts.
    • Pre repo change prefixed with "prc"
    • Post repo change prefixed with nothing

Table Of Contents


Build From Source UI Setup Guides

New Users UI Install Procedure

  1. Check to see if git is currently installed

    • Load terminal and issue the command git --version
      • If no git version is listed simply install git via the same terminal instance with the command sudo apt install git
  2. Ensure 'nodejs' is not already installed

    • Within terminal issue the command sudo apt purge nodejs
  3. Download UI install/update/removal scripts to your home folder

    • Within terminal issue the following command:
      wget https://raw.githubusercontent.com/xspektrex/QORTectorScripts/master/update_install_ui.sh && wget https://raw.githubusercontent.com/xspektrex/QORTectorScripts/master/uninstall_ui.sh
  4. Download Qortal Core & Qortal-UI launchers to your home folder

    • Within terminal issue the following command:
      wget https://raw.githubusercontent.com/xspektrex/QORTectorScripts/master/Launch_Core.sh && wget https://raw.githubusercontent.com/xspektrex/QORTectorScripts/master/Launch_UI.sh
  5. Make the downloaded script/s executable:

    • Via terminal

      • Within terminal issue the command chmod +x *.sh
    • Via GUI

      • (Right-click -> Properties -> Permissions) and check the "Allow executing file as program" box.
  6. Cut/paste Core & UI launchers to desktop

    • Via terminal
      • Within terminal issue the following command:
          mv Launch_Core.sh ~/Desktop/Launch_Core.sh && mv Launch_UI.sh ~/Desktop/Launch_UI.sh
    • Via GUI
      • Select each file and cut/paste onto desktop
  7. Run the QORTAL UI installation script by issuing the command ./install_update_ui.sh

  8. Wait for installation script to complete it's work as noted by "press q to quit"


New Users UI UnInstall Procedure

  1. Load terminal and issue the command ./uninstall_ui.sh

Returning Users UI Update Procedure

  1. If step 2 below has been previously performed since the script/s update noted at the top of this page

    • Load terminal and issue the command ./install_update_ui.sh
  2. If updating for the first time since the script/s update noted at the top of this page

    • Load terminal and download/make executeable/run the pre-update uninstaller by issuing the following command:
          wget https://raw.githubusercontent.com/xspektrex/QORTectorScripts/master/prc_njs_2023_uninstall_ui.sh && chmod +x *.sh && ./prc_njs_2023_uninstall_ui.sh
    • Load terminal and download/make executebale/run the updated QORTAL UI installer via the command:
          wget https://raw.githubusercontent.com/xspektrex/QORTectorScripts/master/update_install_ui.sh && chmod +x *.sh && ./update_install_ui.sh
    • Remove all UI scripts, downloaded or pre-existing in the home folder, that are not update_install_ui.sh or uninstall_ui.sh

Returning Users UI Uninstall Procedure

  1. If step 2 below has been previously performed since the script/s update noted at the top of this page
    • Load terminal and issue the command ./uninstall_ui.sh
  2. If un-installing for the first time since the script/s updated noted at the top of this page
    • Load terminal and download/make executeable/run the uninstaller by issuing the following command:
          wget https://raw.githubusercontent.com/xspektrex/QORTectorScripts/master/prc_njs_2023_uninstall_ui.sh && chmod +x *.sh && ./prc_njs_2023_uninstall_ui.sh

NodeJS Release Calendar

Node Releases Calendar
source: https://nodejs.dev

About

Scripts engineered by HFactor to simplify tasks associated with the raspberry pi-4 in conjunction with QORTAL

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages