Before starting make sure you have marketmaker
daemon compiled and running on your machine.
You can find instructions to install marketmaker
here:
Once running, follow these steps:
git clone https://github.com/SuperNETorg/dICOApp.git
cd dICOApp
npm install
npm start
It will download "dICOApp". Open "dICOApp", and from there open "index.html" file in your web browser.
To update, follow these steps:
cd dICOApp
git pull
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
Refer to the original electron-packager repository for more detailed information.
Change directory to dICOApp and execute the following command to build the Linux app
cd dICOApp
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
Change directory to dICOApp and execute the following command to build the OSX app
cd dICOApp
electron-packager . --platform=darwin --arch=x64 --out=build/ --buildVersion=VERSION_NUMBER_HERE --ignore=assets/bin/win64 --ignore=assets/bin/linux64 --overwrite
Change directory to iguana and execute the following command to build the Windows app
dir iguana
electron-packager . --platform=win32 --arch=x64 --icon=assets/icons/agama_icons/agama_app_icon.ico --out=build/ --buildVersion=VERSION_NUMBER_HERE --ignore=assets/bin/osx --ignore=assets/bin/linux64 --overwrite
# If generating 32bit desktop package
electron-packager . --platform=win32 --arch=ia32 --icon=assets/icons/agama_icons/agama_app_icon.ico --out=build/ --buildVersion=VERSION_NUMBER_HERE --ignore=assets/bin/osx --ignore=assets/bin/linux64 --overwrite
# To build both x64 and x86 desktop package
electron-packager . --platform=win32 --arch=all --icon=assets/icons/agama_icons/agama_app_icon.ico --out=build/ --buildVersion=VERSION_NUMBER_HERE --ignore=assets/bin/osx --ignore=assets/bin/linux64 --overwrite
change architecture build parameter to --arch=x64
for 64 bit build