The Qortal UI is deprecated (old, no longer developed) and will be no longer able to be utilized after version 5.0 release of the Qortal Core.
Please refer to https://github.com/Qortal/Qortal-Hub for desktop app
Alternatively you can use the hosted-access Qortal Hub at https://hub.qortal.link/
Or you can use hosted-access version of Qortal Go, the mobile version - https://go.qortal.link
Decentralizing The World
Follow the steps below to download, install, build and run Qortal UI locally on Linux.
Packages required:
- Node.js
- npm
Easiest way to install the lastest required packages on Linux is via nvm.
sudo apt update && sudo apt install curl -y
sudo rm -rf ~/.nvm (Only for update node version)
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
source ~/.profile (For Debian based distro)
source ~/.bashrc (For Fedora / CentOS)
nvm ls-remote (Fetch list of available versions)
nvm install v20.16.0 (Latest LTS: Iron supported by Electron V32)
npm --location=global install [email protected]
Adding via binary package mirror will only work if you have set the package path. You can do a node or java build via ports instead by downloading ports with portsnap fetch method.
Verify your installation with node --version
- If you have an older installation of npm, please do not forget to update that with
npm update -g
Clone the main UI repo
git clone https://github.com/Qortal/qortal-ui.git
In qortal-ui directory, run:
npm install
npm run build
npm run server &
The "&" at the end puts the UI server in the background.
npm run start-electron
To automate the above process, run ./build.sh, optionally specifying the following options:
-s: run UI server after completing the build
-e: run electron server after completing the build
-w: use 'npm run watch' instead of 'npm run build', to enable hot swapping
-h: show help
Example command to build and run the UI server:
./build.sh -s