Building installer - golemfactory/golem-rd GitHub Wiki
To build Linux release you need to:
-
Build UI
npm installnpm run compilenpm run distcd disttar -zcvf linux-unpacked.tar.gz linux-unpacked
-
Build golem core
python3 setup.py pyinstalller
-
Put
-
golem-linux.tar.gzin new release -
linux-unpacked.tar.gzin new release
-
-
That's all.
install.shwill automatically download newest release from repos
NOTE. For tests you can pass both UI and core packages to the install.sh script:
Usage: install.sh [<option> ...]
Options:
-g, --golem package with Golem
-u, --ui package with UI
-d, --deps-only Install only dependencies without Golem
-h, --help print this message
-
Build UI
npm installnpm tun compilenpm run dist
-
Copy
%ELECTRON_DIR%/dist/win_unpackeddir to%GOLEM_REPO%/Installer/Installer_Win/deps -
Download newest release of HyperG, unpack it and copy
hypergdir to%GOLEM_REPO%/Installer/Installer_Win/deps -
Download dependencies mentioned on the top of the
%GOLEM_REPO%/Installer/Installer_Win/install_script.issand put all of them into%GOLEM_REPO%/Installer/Installer_Win/deps -
Launch
InnoSetupand open%GOLEM_REPO%/Installer/Installer_Win/install_script.iss(NOTE. Make sure that repo path in the 12 line is set properly) -
Compile script (Ctrl+F9 or
Build->Compile) -
Golem core will be automatically compiled and
.exefile will be created in%GOLEM_REPO%/Installer/Installer_Win/directory