Go to file
AlphaX-Projects 1027252c1a
Merge pull request #285 from QuickMythril/voting-fix
Fix voting on poll names with special characters
2024-04-20 08:14:03 +02:00
build Minimum Needed 2022-01-02 18:22:35 +01:00
config Redsign qortal-ui repo 2023-05-11 18:40:52 +02:00
core Fix syncstatus for external nodes 2024-04-02 18:20:41 +02:00
crypto Inline variables ( reduce redudancy ) 2024-03-29 09:00:10 +01:00
img Add Finnish translations 2024-01-26 12:13:15 -05:00
lib Added start core function from nodemanagement 2024-01-03 16:47:53 +01:00
locales Add Finnish translations 2024-01-26 12:13:15 -05:00
plugins Fix voting on poll names with special characters 2024-04-20 02:00:27 -04:00
scripts Cleanup code 2024-03-27 12:48:38 +01:00
snap New Release 2022-01-03 22:45:09 +01:00
splash Cleanup code 2024-03-27 12:48:38 +01:00
.editorconfig Initial commit 2021-12-25 14:39:47 +01:00
.gitattributes Initial commit 2021-12-25 14:39:47 +01:00
.gitignore Update .gitignore 2023-12-13 13:42:23 -05:00
CONTRIBUTING.md Update CONTRIBUTING.md 2023-05-22 09:38:09 +02:00
LICENSE Initial commit 2021-12-25 14:39:47 +01:00
README.md Rollback electron and cleanup code 2024-03-17 12:48:05 +01:00
build-setup.js Initial commit 2021-12-25 14:39:47 +01:00
build.bat Initial commit 2021-12-25 14:39:47 +01:00
build.js Redsign qortal-ui repo 2023-05-11 18:40:52 +02:00
build.sh Redsign qortal-ui repo 2023-05-11 18:40:52 +02:00
electron-builder.yml Bump version 4.2.5 2023-07-06 16:03:38 +02:00
electron.js Cleanup code 2024-03-27 12:48:38 +01:00
package-lock.json Update dependencies 2024-04-04 12:03:30 +02:00
package.json Update dependencies 2024-04-04 12:03:30 +02:00
run_server.bat Initial commit 2021-12-25 14:39:47 +01:00
server.js Redsign qortal-ui repo 2023-05-11 18:40:52 +02:00
set-up-snap.sh Initial commit 2021-12-25 14:39:47 +01:00
watch-inline.js Redsign qortal-ui repo 2023-05-11 18:40:52 +02:00
watch.js Redsign qortal-ui repo 2023-05-11 18:40:52 +02:00

README.md

Qortal Project UI

GitHub tag (latest by date) GitHub Releases License Qortal Discord Invite

Decentralizing The World

Building and Running Qortal UI Server from source:

Follow the steps below to download, install, build and run Qortal UI locally on Linux.

Installation

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 v18.17.1 (LTS: Hydrogen supported by Electron V27)
npm --location=global install npm@10.5.0

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

Installation

In qortal-ui directory, run:

npm install

Build UI server and files

npm run build

Start UI Server ( preferred way )

npm run server &

The "&" at the end puts the UI server in the background.

Run UI using electron

npm run start-electron

Build script (unix-like systems only)

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