2017-05-15 06:14:13 -07:00
|
|
|
# DEX Ugly GUI
|
2017-05-15 09:31:38 -07:00
|
|
|
|
2017-08-17 07:04:16 -07:00
|
|
|
Before starting make sure you have `marketmaker` daemon compiled and running on your machine.
|
2017-05-15 09:31:38 -07:00
|
|
|
|
2017-08-17 07:04:16 -07:00
|
|
|
You can find instructions to install `marketmaker` here:
|
2017-05-15 09:35:07 -07:00
|
|
|
|
2017-05-15 09:34:33 -07:00
|
|
|
https://github.com/SuperNETorg/komodo/wiki/Setting-up-Liquidity-Provider-(LP)-Node#installing-liquidity-provider-lp-node-on-ubuntudebian-system
|
|
|
|
|
2017-08-03 00:59:04 -07:00
|
|
|
### Setup
|
2017-05-15 09:31:38 -07:00
|
|
|
Once running, follow these steps:
|
|
|
|
```shell
|
|
|
|
git clone https://github.com/SuperNETorg/dexuglygui.git
|
2017-08-03 00:58:18 -07:00
|
|
|
cd dexuglygui
|
2017-08-17 05:42:02 -07:00
|
|
|
git checkout v0.3
|
|
|
|
npm install
|
|
|
|
npm start
|
2017-05-15 09:31:38 -07:00
|
|
|
```
|
|
|
|
|
2017-05-20 06:46:23 -07:00
|
|
|
It will download "dexuglygui". Open "dexuglygui", and from there open "index.html" file in your web browser.
|
|
|
|
|
2017-08-03 00:59:04 -07:00
|
|
|
### Update
|
2017-08-03 00:58:18 -07:00
|
|
|
To update, follow these steps:
|
|
|
|
```shell
|
|
|
|
cd dexuglygui
|
2017-08-17 05:42:02 -07:00
|
|
|
git checkout v0.3
|
2017-08-03 00:58:18 -07:00
|
|
|
git pull
|
2017-08-17 07:04:16 -07:00
|
|
|
```
|
2017-08-20 09:13:36 -07:00
|
|
|
|
|
|
|
#### For end users
|
|
|
|
|
|
|
|
To build the production ready app, install `electron-packager` and `electron-prebuilt` packages from npm
|
|
|
|
```shell
|
|
|
|
sudo npm install electron-packager -g
|
|
|
|
sudo npm install electron-prebuilt -g
|
|
|
|
```
|
|
|
|
|
|
|
|
#### **Build the App**
|
|
|
|
Refer to the original [electron-packager](https://github.com/electron-userland/electron-packager) repository for more detailed information.
|
|
|
|
|
2017-08-24 10:47:32 -07:00
|
|
|
##### Linux
|
|
|
|
Change directory to dexuglygui and execute the following command to build the Linux app
|
|
|
|
```shell
|
|
|
|
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
|
|
|
|
|
2017-08-20 09:13:36 -07:00
|
|
|
##### OSX
|
|
|
|
Change directory to dexuglygui and execute the following command to build the OSX app
|
|
|
|
```shell
|
|
|
|
cd dexuglygui
|
|
|
|
electron-packager . --platform=darwin --arch=x64 --out=build/ --buildVersion=VERSION_NUMBER_HERE --ignore=assets/bin/win64 --ignore=assets/bin/linux64 --overwrite
|
2017-08-24 10:47:32 -07:00
|
|
|
```
|
|
|
|
|