The main Bubble source repository. Contains the Bubble API server, the web UI, documentation and utilities. https://getbubblenow.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Jonathan Cobb ba3084dbc9 multifactor auth works for login 4 年之前
automation first commit 4 年之前
bin first commit 4 年之前
bubble-server multifactor auth works for login 4 年之前
bubble-web @ 889c9e1787 multifactor auth works for login 4 年之前
scripts first commit 4 年之前
utils do not delete node file nor run sql post scripts if db exists 4 年之前
.gitignore first commit 4 年之前
.gitmodules first commit 4 年之前
LICENSE.md first commit 4 年之前
README.md first commit 4 年之前
pom.xml first commit 4 年之前

README.md

bubble

Development Setup

First-Time System Setup

After you clone this repository, run:

./bin/first_time_ubuntu.sh

If you are running on a non-Ubuntu system, copy that file to something like:

./bin/first_time_myoperatingsystem.sh

And then edit it such that all the same packages get installed. Then submit a pull request and we can add support for your operating system to the main repository.

You only need to run this command once, ever, on a development system. It ensures that the appropriate packages are installed and proper databases and database users exist.

First-Time Dev Setup

After running the system setup above, run:

./bin/first_time_setup.sh

This will grab all the submodules and perform an initial build of all components.

Bubble environment file

You will need a file named ${HOME}/.bubble.env which contains various environment variables required to run the server.

Talk to another developer to get a copy of this file. Do not ever send this file over email or any other unencrypted channel. Always use scp to copy this file from one machine to another.

After you have the env file in place, create a symlink called ${HOME}/.bubble-test.env

cd ${HOME} && ln -s .bubble.env .bubble-test.env

Subsequent Updates

If you want to grab the latest code, and ensure that all git submodules are properly in sync with the main repository, run:

./bin/git_update_bubble.sh

This will update and rebuild all submodules, and the main bubble jar file.

Running in development

Assuming you ran the commands above, you can run a test server using the method described in the bubble-web README.