Jonathan Cobb 4 лет назад
Родитель
Сommit
c0d043ada0
2 измененных файлов: 8 добавлений и 7 удалений
  1. +2
    -2
      LICENSE.md
  2. +6
    -5
      README.md

+ 2
- 2
LICENSE.md Просмотреть файл

@@ -1,7 +1,7 @@
# Copyright (C) 2020 Bubble, Inc.

## For ANY commercial use of this software
All rights are reserved. Please contact licensing@bubblev.com for more information.
All rights are reserved. Please contact licensing@getbubblenow.com for more information.

## For individuals and not-for-profit organizations
If you are an individual person or a not-for-profit organization, and your usage of this software is entirely
@@ -10,7 +10,7 @@ summarized below and reprinted in full thereafter.

```text
Bubble - a privacy-first VPN
Copyright (C) 2019 Bubble, Inc.
Copyright (C) 2020 Bubble, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by


+ 6
- 5
README.md Просмотреть файл

@@ -17,23 +17,24 @@ npm install
```

# Build the Webapp
Bubble uses [webpack](https://webpack.js.org/) to build the Bubble VueJS webapp.
Bubble uses [npm](https://www.npmjs.com/) and [webpack](https://webpack.js.org/)
to build the Bubble VueJS webapp.

In the `bubble-web` directory, run this to build the webapp:
```shell script
webpack
npm run build
```
The output files will be in the `bubble-web/dist` directory.

To perform a production build, run:
To perform a development build (for example, so the VueJS firefox/chrome plugin will work), run:
```shell script
webpack --mode=production
npm run dev-build
```

# Run Webapp with a Remote Bubble API Server
To connect to a remote Bubble API, set the `BUBBLE_API` environment variable and run:
```shell script
BUBBLE_API=https://bubble-api.example.com/api npm start
BUBBLE_API=https://bubble-api.example.com/api npm run start
```
This will run a local web server where you can use the webapp. The local web server will
proxy API calls to the remote Bubble API server.


Загрузка…
Отмена
Сохранить