These instructions presume you are running a newly-setup Ubuntu 20.04 or Mac OS X system.
For Ubuntu, either the Server or Desktop distribution will work.
Other Debian-based systems will probably also work fine.
See below for other Linux distributions and other operating systems.
You’ll need to install some software for Bubble to work correctly.
Follow the instructions in System Software Setup to install the required software.
After running the system setup above, run:
./bin/first_time_setup.sh
This downloads all the submodules and performs an initial build of all components.
This will take a while to complete, please be patient.
You will need a file named ${HOME}/.bubble.env
which contains various environment
variables required to run the server. At the least, it should contain:
export LETSENCRYPT_EMAIL=user@example.com
This defines what email address is used with LetsEncrypt when creating new SSL certificates.
If you will be running any tests, create a symlink called ${HOME}/.bubble-test.env
cd ${HOME} && ln -s .bubble.env .bubble-test.env
The .bubble-test.env
file is used by the test suite.
Read Bubble Developer Tasks to understand how to keep the code up to date, run the API server, rebuild the jar, and more.
If you’ve started the Bubble API already using run.sh
, and want to launch a Bubble,
continue with activation.