BarterDEX/ReadMe.md

1.7 KiB

DEX Ugly GUI

Before starting make sure you have marketmaker daemon compiled and running on your machine.

You can find instructions to install marketmaker here:

https://github.com/SuperNETorg/komodo/wiki/Setting-up-Liquidity-Provider-(LP)-Node#installing-liquidity-provider-lp-node-on-ubuntudebian-system

Setup

Once running, follow these steps:

git clone https://github.com/SuperNETorg/dexuglygui.git
cd dexuglygui
git checkout v0.3
npm install
npm start

It will download "dexuglygui". Open "dexuglygui", and from there open "index.html" file in your web browser.

Update

To update, follow these steps:

cd dexuglygui
git checkout v0.3
git pull

For end users

To build the production ready app, install electron-packager and electron-prebuilt packages from npm

sudo npm install electron-packager -g
sudo npm install electron-prebuilt -g

Build the App

Refer to the original electron-packager repository for more detailed information.

Linux

Change directory to dexuglygui and execute the following command to build the Linux app

cd dexuglygui
electron-packager . --platform=linux --arch=x64 --out=build/ --buildVersion=VERSION_NUMBER_HERE --ignore=assets/bin/win64 --ignore=assets/bin/osx --overwrite

change architecture build parameter to --arch=x32 for 32 bit build

OSX

Change directory to dexuglygui and execute the following command to build the OSX app

cd dexuglygui
electron-packager . --platform=darwin --arch=x64 --out=build/ --buildVersion=VERSION_NUMBER_HERE --ignore=assets/bin/win64 --ignore=assets/bin/linux64 --overwrite