Fusion DB's extension for Theia IDE. If you don't know what Theia is, then you likely want the full Fusion Studio IDE application.
>= 12.18.3
(it should most likely be installed with nvm)
> 1.15.x
(it can easily be installed globally via npm (Node Package Manager), but you should be aware this has a small security implication. npm is installed when you install Node).>= 3.7.7.
(if your system does not provide it, consider using pyenv).
If you are having trouble building and have multiple versions of Python installed via pyenv
or any other mechanism, see the Debugging Python Build Issues section).If you are experiencing build issues and have multiple versions of Python installed via pyenv or some other such mechanism then the following information may be useful.
nvm
and pyenv
to install your desired versions.
python --version
It should indicate Python 3.8.x
or better.
3.8.3
echo 'export NODE_GYP_FORCE_PYTHON="~/.pyenv/versions/3.8.3/bin/python3"' >> ~/.zshrc
For bash users replace .zshrc
with bashrc
The following commands will install the required packages and setup Python 3 via pyenv on Ubuntu 20.04.
sudo curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install nodejs yarnpkg libx11-dev libxkbfile-dev
alias yarn=yarnpkg
git clone https://github.com/pyenv/pyenv.git ~/.pyenv
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc
echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc
echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n eval "$(pyenv init -)"\nfi' >> ~/.bashrc
sudo apt-get install --no-install-recommends make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev
pyenv install 3.8.4
pyenv global 3.8.4
exec $SHELL
The following commands will install the required packages on CentOS 7.
sudo yum update
sudo yum install -y libX11-devel libxkbfile-devel
sudo yum install -y gcc-c++ make
sudo curl -sL https://rpm.nodesource.com/setup_12.x | sudo bash -
sudo yum install -y nodejs
curl -sL https://dl.yarnpkg.com/rpm/yarn.repo | sudo tee /etc/yum.repos.d/yarn.repo
sudo yum install -y yarn
sudo yum install -y rpm-build
>= 8.0.0
.Clone the repo, and build the source:
$ git clone https://github.com/evolvedbinary/fusion-studio-extension.git
$ cd fusion-studio-extension
$ yarn
You may get the error
No package 'x11' found
on Ubuntu (Minimal installation), you'll need to install these packages:sudo apt install libx11-dev libxkbfile-dev
$ yarn run rebuild:browser
$ cd browser-app
$ yarn start
$ yarn run rebuild:electron
$ cd electron-app
$ yarn start
To run the integrations tests you need a running database with the fusion-studio-api installed. It should be reachable at localhost:8080
and have an empty admin password. You can then run the integration test GUI locally by using:
yarn run cypress open
or in cases where the above fails to load the cypress test runner, use:
npx cypress open
Integration tests are also run on travis. To see a similar command line style output use:
yarn run cypress run
$ yarn run sass:watch
To watch for files changes:
$ cd fusion-studio-extension
$ yarn watch
$ cd browser-app
$ yarn watch
$ cd electron-app
$ yarn watch
Extra
"Start Browser Backend"
"Start Electron Backend"
$ yarn run sass