The main Bubble source repository. Contains the Bubble API server, the web UI, documentation and utilities. https://getbubblenow.com
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

pirms 4 gadiem
pirms 4 gadiem
pirms 4 gadiem
pirms 4 gadiem
pirms 4 gadiem
pirms 4 gadiem
pirms 4 gadiem
pirms 4 gadiem
pirms 4 gadiem
pirms 4 gadiem
pirms 4 gadiem
pirms 4 gadiem
pirms 4 gadiem
pirms 4 gadiem
pirms 4 gadiem
pirms 4 gadiem
pirms 4 gadiem
pirms 4 gadiem
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. Bubble Developer Guide
  2. ======================
  3. This guide is intended for developers who would like to work directly with the Bubble source code.
  4. For API-level details, see the [Bubble API Guide](https://github.com/getbubblenow/bubble-docs/blob/master/api/README.md)
  5. # Development Setup
  6. These instructions presume you are running a newly setup Ubuntu 20.04 or Mac OS X system.
  7. For Ubuntu, either the Server or Desktop distribution will work.
  8. Other Debian-based systems will probably also work fine.
  9. See below for other Linux distributions and other operating systems.
  10. ## One-Time System Setup
  11. You'll need to install some software for Bubble to work correctly.
  12. Follow the instructions in [System Software Setup](system-software.md) to install the required software.
  13. ## First-Time Dev Setup
  14. After running the system setup above, run:
  15. ```shell script
  16. ./bin/first_time_setup.sh
  17. ```
  18. This will grab all the submodules and perform an initial build of all components.
  19. This will take a while to complete, please be patient.
  20. ## Bubble environment file
  21. You will need a file named `${HOME}/.bubble.env` which contains various environment variables
  22. required to run the server. At the least, it should contain:
  23. ```shell script
  24. export LETSENCRYPT_EMAIL=user@example.com
  25. ```
  26. This defines what email address is used with LetsEncrypt when creating new SSL certificates.
  27. If you will be running any tests, create a symlink called `${HOME}/.bubble-test.env`
  28. ```shell script
  29. cd ${HOME} && ln -s .bubble.env .bubble-test.env
  30. ```
  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. ```shell script
  35. ./bin/git_update_bubble.sh
  36. ```
  37. This will update and rebuild all submodules, and the main bubble jar file.
  38. ## Running in development
  39. Run the `bin/run.sh` script to start the Bubble server.
  40. ## Resetting everything
  41. If you want to "start over", run:
  42. ```shell script
  43. ./bin/reset_bubble_full
  44. ```
  45. This will remove local files stored by Bubble, and drop the bubble database.
  46. If you run `./bin/run.sh` again, it will be like running it for the first time.
  47. ## Next
  48. What to do next depends on what you want to do with Bubble.
  49. If you've started the Bubble API already using `run.sh`, and want to launch a Bubble,
  50. continue with [activation](activation.md).
  51. Would you like more guidance on starting the [Local Launcher](local-launcher.md)?
  52. If all you want to do is launch your own Bubble, starting with
  53. the [Bubble Docker Launcher](docker-launcher.md) is probably faster and easier.
  54. Or perhaps you are interested in exploring the
  55. [Bubble API](https://github.com/getbubblenow/bubble-docs/blob/master/api/README.md) and
  56. interacting with Bubble programmatically.