How to install Bumblebee on Digital Ocean
These are the minimal steps to run Bumblebee on your server or laptop. If you want more indeed information about how Bumblebee can help you to clean and prepare big data please go to hi-bumblebee.com
Create a New Ubuntu Server on Digitalocean
We recommend a create a droplet with at least 8GB of RAM and 2 vCPUs.
We need to run 3 processes at the same time. The Jupyter Kernel Gateway, the Bumblebee API, and the Bumblebee Front-End. For this, we are going to use byobu a multi-window terminal manager. After connecting via ssh in your terminal and run
byobu
Then install Anaconda
curl -O https://repo.anaconda.com/archive/Anaconda3-2019.10-Linux-x86_64.sh
bash Anaconda3-2019.10-Linux-x86_64.sh
Download the package lists from the repositories
sudo apt-get update
Install Node.Js 12.x
cd ~
curl -sL https://deb.nodesource.com/setup_12.x -o nodesource_setup.sh
sudo bash nodesource_setup.sh
sudo apt install nodejs
Install yarn and some packages
npm install yarn -g
yarn global add pm2
yarn global add concurrently
yarn global add cross-env
Clone the Bumblebee repo using
git clone https://github.com/hi-primus/bumblebee.git
cd Bumblebee
Install Python requirements
Create and use a Conda environment with Python 3.8
conda create -n optimus python=3.8
conda activate optimus
Install Optimus using this script
bash bbi.sh install optimus
Install the Jupyter Kernel Gateway
conda install -c conda-forge jupyter_kernel_gateway
Install, configure and run the Bumblebee front-end
Jump to another terminal press F2 to create a new terminal in Byobu
bash bbi.sh start environment
You’ll be asked to input your public address, it must be your external server ip address.
You are ready to test Bumblebee
Once running you’ll be able to open Bumblebee in your browser going to http://<IP>:3000 (<IP> is your external IP address).
After that click in Sign up to Bumblebee
and create a user with the credentials you prefer.
Now you are ready to use Bumblebee 🚕. Check the video below to see some of the main features.
Wrap up
Hope you can really enjoy Bumblebee if you need any help please go to the forums.
Also, remember that Bumblebee is open source. If you want to contribute take a look at the GitHub repo https://github.com/hi-primus/bumblebee.