The Bubble web UI in VueJS
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

4 лет назад
4 лет назад
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. # Bubble Web Development
  2. This document describes how to develop on the Bubble web application.
  3. ## Requirements
  4. Along with expert-level knowledge of HTML, CSS and JavaScript, you'll need at least a basic understanding of:
  5. * [npm](https://www.npmjs.com/)
  6. * [webpack](https://webpack.js.org/)
  7. * [VueJS](https://vuejs.org/)
  8. * [Bootstrap](https://getbootstrap.com/)
  9. * [git](https://git-scm.com/)
  10. * [SSH](https://www.ssh.com/ssh/)
  11. * [rsync](https://linux.die.net/man/1/rsync) and/or [scp](https://linux.die.net/man/1/scp) commands
  12. It will be easiest to develop on Linux or Mac OS X. If you are comfortable using all the above tools on Windows,
  13. then there should be no problems developing on Windows.
  14. In order to commit and push your changes to the `bubble-web` git repository, you will need an account on https://git.bubblev.org
  15. ## Development Setup
  16. Ensure that you have installed and know how to use these programs at the command line:
  17. * `npm`
  18. * `webpack`
  19. * `git`
  20. * `ssh`
  21. * `rsync` or `scp`
  22. Clone this repository:
  23. git clone git@git.bubblev.org:bubblev/bubble-web.git
  24. Change into the `bubble-web` directory that was just created:
  25. cd bubble-web
  26. Create a branch to do your work on:
  27. git checkout -b design/your-git-username
  28. Install dependencies:
  29. npm install
  30. Build it:
  31. webpack
  32. ## Development Process
  33. As a web designer, the easiest way to develop the Bubble web UI will be to use a live, running instance of Bubble.
  34. Ask another Bubble developer for access to a Bubble server instance.
  35. Send your SSH public key to the developer, they can install it on the server.
  36. With your key installed, you can copy files from your local system to the server.
  37. After you have made changes to your local `bubble-web` code, package up the code for distribution:
  38. webpack
  39. Copy your local build to the remote server:
  40. scp dist/* bubble@remote-server.example.com:site/
  41. If you prefer to use `rsync` instead of `scp`:
  42. rsync -avzc dist/* bubble@remote-server.example.com:site/
  43. Then reload the page https://remote-server.example.com/ in your web browser to see your changes.
  44. ## Committing and Pushing Changes
  45. When you would like to save your changes, commit them to git and push them to your branch.