pull/69/head
Thomas Buckley-Houston 2018-06-12 21:01:31 +08:00
rodzic fc40abdf03
commit d3d194bf6b
1 zmienionych plików z 6 dodań i 9 usunięć

Wyświetl plik

@ -42,12 +42,7 @@ Download a binary from the [releases](https://github.com/tombh/texttop/releases)
You will need to have Firefox >=57 aleady installed.
Or download and run the Docker image (~800MB) with:
`docker run -it tombh/browsh`
There's currently a known bug when running Browsh against a fresh install of Firefox.
If Browsh happens to be the first to ever open Firefox on your machine then it will
get stuck because Firefox behaves differently on its first ever launch. The simple
fix is to either just to run Browsh again, or launch Firefox manually yourself (you don't even need to keep it open).
`docker run -it tombh/texttop`
## Usage
Most keys and mouse gestures should work as you'd expect on a desktop
@ -80,12 +75,14 @@ Then the ideal setup for development is:
`go run ./interfacer/*.go -use-existing-ff`
* have Mozilla's handy `web-ext` tool run Firefox and reinstall the
webextension everytime webpack rebuilds it: (in `webext/dist`)
`web-ext run --verbose --url https://google.com`
`web-ext run --verbose`
## Tests
For the webextension: in the `webext/` folder, `npm test`
For the CLI client: in the `interfacer/` folder `./contrib/run_tests.sh`
For the webextension: in `webext/` folder, `npm test`
For CLI unit tests: in `/interfacer` run `go test src/browsh/*.go`
For CLI E2E tests: in `/interfacer` run `go test test/tty/*.go`
FOr HTTP Service tests: in `/interfacer` run `go test test/http-server/*.go`
## License
GNU General Public License v3.0