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.

dev_manual.md 1.6 KiB

4 年之前
4 年之前
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. Bubble Manual Development Setup
  2. ===============================
  3. These instructions presume you are running a newly-setup Ubuntu 20.04 or Mac OS X system.
  4. For Ubuntu, either the Server or Desktop distribution will work.
  5. Other Debian-based systems will probably also work fine.
  6. See below for other Linux distributions and other operating systems.
  7. ## One-Time System Setup
  8. You'll need to install some software for Bubble to work correctly.
  9. Follow the instructions in [System Software Setup](system-software.md) to install the required software.
  10. ## First-Time Dev Setup
  11. After running the system setup above, run:
  12. ```shell script
  13. ./bin/first_time_setup.sh
  14. ```
  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
  19. required to run the server. At the least, it should contain:
  20. ```shell script
  21. export LETSENCRYPT_EMAIL=user@example.com
  22. ```
  23. This defines what email address is used with [LetsEncrypt](https://letsencrypt.org/)
  24. when creating new SSL certificates.
  25. If you will be running any tests, create a symlink called `${HOME}/.bubble-test.env`
  26. ```shell script
  27. cd ${HOME} && ln -s .bubble.env .bubble-test.env
  28. ```
  29. The `.bubble-test.env` file is used by the test suite.
  30. ## What's Next
  31. Read [Bubble Developer Tasks](dev_tasks.md) to understand how to keep the code
  32. up to date, run the API server, rebuild the jar, and more.
  33. If you've started the Bubble API already using `run.sh`, and want to launch a Bubble,
  34. continue with [activation](activation.md).