An IDE and Management Tool for FusionDB.
This repository holds the code for packaging the IDE as a client Desktop application. To use this with FusionDB you will also need the server-side API installed, you can find that here: fusion-studio-api.
The latest reslease version of FusionDB is available for download from https://fusiondb.com.
- Node.js 14
- yarn 1.17.3+
- Git 2.11+
- Java 8
- Python 3
- rpmbuild (for building RPM's on Linux)
- Apple Developer Certificate and Account (for signing DMG's on macOS)
We suggest using nvm for running and managing different node versions.
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
nvm install 14
nvm use 14
Install the latest version of yarn compatible with the recommended node version.
npm install -g yarn
git clone https://github.com/evolvedbinary/fusion-studio.git
cd fusion-studio
export NODE_OPTIONS="--max-old-space-size=8192"
yarn install --ignore-engines && yarn build
git clone https://github.com/evolvedbinary/fusion-studio.git
cd fusion-studio
set NODE_OPTIONS=--max-old-space-size=8192
yarn install --ignore-engines && yarn build
After building you can produce native application packages such as: .exe
, .dmg
, .deb
, and .rpm
.
yarn package
The APPLE_ID
and APPLE_ID_PASSWORD
are used for notarization of the app. If you don't need notarization you can skip these.
Remember, notarization can be a slow process which can take 10+ minutes with little or no output to the console … so remain patient!
APPLE_ID=me@something.com APPLE_ID_PASSWORD=abcd-efgh-ijkl-mnop yarn package
Desktop Applications are then available in the fusion-studio/dist
folder.
Release packages are built for Linux, Mac, and Windows platforms.
As code-signing of Mac packages can only be performed on macOS, we assume your starting point is a Mac with Docker installed.
$ git clone https://github.com/evolvedbinary/fusion-studio.git
$ cd fusion-studio
$ yarn && yarn build && yarn package
$ docker run -ti \
--env USER=$UID \
--env GROUP=$GID \
-v ${PWD}:/project evolvedbinary/fs-build:centos7_x64-be \
/bin/bash -c "bash /root/build.sh"