The main Bubble source repository. Contains the Bubble API server, the web UI, documentation and utilities. https://getbubblenow.com
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

4 年前
4 年前
4 年前
4 年前
4 年前
4 年前
4 年前
4 年前
4 年前
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. Bubble Developer Guide
  2. ======================
  3. # Development Setup
  4. These instructions presume you are running a newly setup Ubuntu 20.04 system.
  5. Either the Ubuntu Server or Desktop distribution will work.
  6. Other Debian-based systems will probably also work fine.
  7. See below for other Linux distributions and other operating systems.
  8. ## First-Time System Setup
  9. You'll need to install some software for Bubble to work correctly.
  10. After you clone this repository, run:
  11. ./bin/first_time_ubuntu.sh
  12. This runs some `apt` commands to install various bits of software needed to run Bubble.
  13. If you are running on a non-Ubuntu system, copy that file to something like:
  14. ./bin/first_time_myoperatingsystem.sh
  15. And then edit it such that all the same packages get installed.
  16. Then submit a pull request and we can add support for your operating system to the main repository.
  17. You only need to run this command once, ever, on a development system.
  18. It ensures that the appropriate packages are installed and proper databases and database users exist.
  19. ## First-Time Dev Setup
  20. After running the system setup above, run:
  21. ./bin/first_time_setup.sh
  22. This will grab all the submodules and perform an initial build of all components.
  23. This will take a while to complete, please be patient.
  24. ## Bubble environment file
  25. You will need a file named `${HOME}/.bubble.env` which contains various environment variables required to run the server.
  26. Talk to another developer to get a copy of this file.
  27. Do not ever send this file over email or any other unencrypted channel, it contains secret keys to various cloud
  28. services that your Bubble will use. Always use `scp` to copy this file from one machine to another.
  29. If you will be running any tests, create a symlink called `${HOME}/.bubble-test.env`
  30. cd ${HOME} && ln -s .bubble.env .bubble-test.env
  31. The `.bubble-test.env` file is used by the test suite.
  32. ## Subsequent Updates
  33. If you want to grab the latest code, and ensure that all git submodules are properly in sync with the main repository, run:
  34. ./bin/git_update_bubble.sh
  35. This will update and rebuild all submodules, and the main bubble jar file.
  36. ## Running in development
  37. Run the `bin/run.sh` script to start the Bubble server.