The Bubble web UI in VueJS
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

2.2 KiB

Bubble Web Development

This document describes how to develop on the Bubble web application.

Requirements

Along with expert-level knowledge of HTML, CSS and JavaScript, you’ll need at least a basic understanding of:

It will be easiest to develop on Linux or Mac OS X. If you are comfortable using all the above tools on Windows, then there should be no problems developing on Windows.

In order to commit and push your changes to the bubble-web git repository, you will need an account on https://git.bubblev.org

Development Setup

Ensure that you have installed and know how to use these programs at the command line:

  • npm
  • webpack
  • git
  • ssh
  • rsync or scp

Clone this repository:

git clone git@git.bubblev.org:bubblev/bubble-web.git

Change into the bubble-web directory that was just created:

cd bubble-web

Create a branch to do your work on:

git checkout -b design/your-git-username

Install dependencies:

npm install

Build it:

webpack

Development Process

As a web designer, the easiest way to develop the Bubble web UI will be to use a live, running instance of Bubble.

Ask another Bubble developer for access to a Bubble server instance.

Send your SSH public key to the developer, they can install it on the server. With your key installed, you can copy files from your local system to the server.

After you have made changes to your local bubble-web code, package up the code for distribution:

webpack

Copy your local build to the remote server:

scp dist/* bubble@remote-server.example.com:site/

If you prefer to use rsync instead of scp:

rsync -avzc dist/* bubble@remote-server.example.com:site/

Then reload the page https://remote-server.example.com/ in your web browser to see your changes.

Committing and Pushing Changes

When you are ready save your changes, commit them to git and then push them to your branch.