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.

4 年之前
3 年之前
3 年之前
3 年之前
3 年之前
4 年之前
4 年之前
4 年之前
4 年之前
4 年之前
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. Bubble Developer Guide
  2. ======================
  3. This guide is intended for developers who would like to work directly with the Bubble source code.
  4. # Development Setup
  5. These instructions presume you are running a newly setup Ubuntu 20.04 or Mac OS X system.
  6. For Ubuntu, either the Server or Desktop distribution will work.
  7. Other Debian-based systems will probably also work fine.
  8. See below for other Linux distributions and other operating systems.
  9. ## One-Time System Setup
  10. You'll need to install some software for Bubble to work correctly.
  11. Follow the instructions in [System Software Setup](system-software.md) to install the required software.
  12. ## First-Time Dev Setup
  13. After running the system setup above, run:
  14. ./bin/first_time_setup.sh
  15. This will grab all the submodules and perform an initial build of all components.
  16. This will take a while to complete, please be patient.
  17. ## Bubble environment file
  18. You will need a file named `${HOME}/.bubble.env` which contains various environment variables required to run the server.
  19. Talk to another developer to get a copy of this file.
  20. Do not ever send this file over email or any other unencrypted channel, it contains secret keys to various cloud
  21. services that your Bubble will use. Always use `scp` to copy this file from one machine to another.
  22. If you will be running any tests, create a symlink called `${HOME}/.bubble-test.env`
  23. cd ${HOME} && ln -s .bubble.env .bubble-test.env
  24. The `.bubble-test.env` file is used by the test suite.
  25. ## Subsequent Updates
  26. If you want to grab the latest code, and ensure that all git submodules are properly in sync with the main repository, run:
  27. ./bin/git_update_bubble.sh
  28. This will update and rebuild all submodules, and the main bubble jar file.
  29. ## Running in development
  30. Run the `bin/run.sh` script to start the Bubble server.
  31. ## Resetting everything
  32. If you want to "start over", run:
  33. ./bin/reset_bubble_full
  34. This will remove local files stored by Bubble, and drop the bubble database.
  35. If you run `./bin/run.sh` again, it will be like running it for the first time.