Skip to content
This repository was archived by the owner on Aug 13, 2018. It is now read-only.

Commit 1b704ca

Browse files
committed
Merge pull request #48 from esphen/readme-update
Update README with link to AMO and npm install jpm
2 parents c3c5393 + ab7a491 commit 1b704ca

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ data sent and received.
77
See [Home Page](https://github.com/firebug/websocket-monitor/wiki)
88
for more details
99

10-
The extension isn't signed, so you might need to set `xpinstall.signatures.required` pref to false.
10+
**This is the source code, the extension can be downloaded [here](https://addons.mozilla.org/en-US/firefox/addon/websocket-monitor).**
1111

1212
Instructions
1313
------------
@@ -21,13 +21,13 @@ You might want to check out online [demo page](http://janodvarko.cz/test/websock
2121

2222
Hacking on WebSocket Monitor
2323
----------------------------
24-
1. Get [JPM](https://developer.mozilla.org/en-US/Add-ons/SDK/Tools/jpm): `git clone https://github.com/mozilla/jpm`
24+
1. Get [npm](https://www.npmjs.com/)
2525

26-
2. Switch to the JPM folder and [install](https://www.npmjs.org/doc/cli/npm-install.html) and [link](https://www.npmjs.org/doc/cli/npm-link.html) it via `npm install` and `npm link`. (Also needs to be done after fetching the latest changes to the JPM repo.)
26+
2. Get [JPM](https://developer.mozilla.org/en-US/Add-ons/SDK/Tools/jpm): `sudo npm install -g jpm`
2727

2828
3. Get the WebSocketMonitor repo: `git clone https://github.com/firebug/websocket-monitor.git` and install its dependencies via `npm install`
2929

30-
4. Run `jpm run -b <file path to your Firefox binary>` in the source directory to launch Firefox, which automatically creates a clean profile.
30+
4. Run `jpm run -b <file path to your Firefox binary> --binary-args 'http://janodvarko.cz/test/websockets/'` in the source directory to launch Firefox, which automatically creates a clean profile and launches the [demo page](http://janodvarko.cz/test/websockets/).
3131

3232
If you wish to run it with an existing profile, first create a new profile via the [Profile Manager](https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles), and then run `jpm run -b <file path to your Firefox binary> -p <path to your Firefox profile (needs to start with /)>`.
3333

0 commit comments

Comments
 (0)