Bubble documentation
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

dev_setup.md 1.6 KiB

1234567891011121314151617181920212223242526272829303132
  1. # Bubble Development Environment
  2. ## Initial Download and Build
  3. For best results, start with a fresh Ubuntu 18.04. Either the Server or Desktop Ubuntu will work.
  4. * Download the code: `git clone https://git.bubblev.org/bubblev/bubble.git`
  5. * Run first-time operating system setup: `./bin/first_time_ubuntu.sh`
  6. This command will install various apt packages required by Bubble, and configure/setup the initial Bubble PostgreSQL database.
  7. Note: this command only needs to be run once on a new Ubuntu 18.04 development system.
  8. * Run first-time code setup: `./bin/first_time_setup.sh`
  9. This command initializes the various git submodules used by Bubble, downloads all required maven dependencies,
  10. and performs an initial build.
  11. Note this command only need to be run once after a fresh clone the Bubble git repository.
  12. ## Subsequent Updating and Building
  13. If you have an existing Bubble git repository, and would like to update all code (including submodules) to the latest version, run:
  14. `./bin/git_update_bubble.sh`
  15. After this command completes, your Bubble will be updated to the latest development code, and rebuilt.
  16. ## Environment file
  17. You will need a file named `${HOME}/.bubble.env` which contains various environment variables required to run the server.
  18. Talk to another developer to get a copy of this file. Do not ever send this file over email or any other unencrypted channel.
  19. Always use `scp` to copy this file from one machine to another.
  20. After you have the env file in place, create a symlink called `${HOME}/.bubble-test.env`
  21. cd ${HOME} && ln -s .bubble.env .bubble-test.env