mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-22 16:29:09 +01:00
Update README.md
This commit is contained in:
parent
b13bb49164
commit
79c2fdac48
13
README.md
13
README.md
@ -24,7 +24,7 @@ The bitwarden browser extension is written using the Chrome Web Extension API an
|
|||||||
- [Gulp](http://gulpjs.com/) (`npm install --global gulp-cli`)
|
- [Gulp](http://gulpjs.com/) (`npm install --global gulp-cli`)
|
||||||
- Chrome (preferred), Opera, or Firefox browser
|
- Chrome (preferred), Opera, or Firefox browser
|
||||||
|
|
||||||
By default the extension is targeting the production API. If you are running the [Core](https://github.com/bitwarden/core) API locally, you'll need to switch the extension to target your local instance. Open `src/services/apiService.js` and set `self.baseUrl` and `self.identityBaseUrl` to your local API instance (ex. `http://localhost:5000`).
|
By default the extension is targeting the production API. If you are running the [Core](https://github.com/bitwarden/core) API locally, you'll need to switch the extension to target your local instance. Open `src/services/api.service.ts` and set `this.baseUrl` and `this.identityBaseUrl` to your local API instance (ex. `http://localhost:5000`).
|
||||||
|
|
||||||
Then run the following commands:
|
Then run the following commands:
|
||||||
|
|
||||||
@ -43,17 +43,6 @@ You can now load the extension into your browser through the browser's extension
|
|||||||
1. Type `about:debugging` in your address bar to bring up the add-ons page.
|
1. Type `about:debugging` in your address bar to bring up the add-ons page.
|
||||||
2. Click the `Load Temporary Add-on` button, navigate to the `dist/manifest.json` file, and "Open".
|
2. Click the `Load Temporary Add-on` button, navigate to the `dist/manifest.json` file, and "Open".
|
||||||
|
|
||||||
**Release**
|
|
||||||
|
|
||||||
To build the the extension for production the following commands should be run:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
npm run prod
|
|
||||||
gulp dist:[browser]
|
|
||||||
```
|
|
||||||
|
|
||||||
Where `[browser]` is the web browser to target. Currently the following web browsers are supported: `chrome`, `edge`, `firefox` and `opera`.
|
|
||||||
|
|
||||||
# Contribute
|
# Contribute
|
||||||
|
|
||||||
Code contributions are welcome! Please commit any pull requests against the `master` branch. Learn more about how to contribute by reading the [`CONTRIBUTING.md`](CONTRIBUTING.md) file.
|
Code contributions are welcome! Please commit any pull requests against the `master` branch. Learn more about how to contribute by reading the [`CONTRIBUTING.md`](CONTRIBUTING.md) file.
|
||||||
|
Loading…
Reference in New Issue
Block a user