Skip to content

ccheraa/fusion-studio

 
 

Repository files navigation

Fusion Studio

CircleCI License

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.

Requirements

  • 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)

Building the Fusion Studio Application

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

On Linux and macOS:

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

On Windows:

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

Creating Application Packages

After building you can produce native application packages such as: .exe, .dmg, .deb, and .rpm.

On Linux and Windows:

yarn package

On macOS:

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.

Building a Release

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"

About

An IDE and Management Tool for Granite

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 43.4%
  • Shell 41.5%
  • Dockerfile 9.8%
  • NSIS 5.3%