diff --git a/.gitpod.yml b/.gitpod.yml index 8be27e2..ae74963 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -1,7 +1,7 @@ image: file: .gitpod.Dockerfile tasks: - - command: gp await-port 3000 && sleep 3 && gp preview $(gp url 3000)/examples/browser/demo.html + - command: gp await-port 3000 && sleep 3 && gp preview $(gp url 3000)/examples/browser/basic-efficient.html - init: npm install command: npm start ports: diff --git a/README.md b/README.md index 744775c..e235209 100644 --- a/README.md +++ b/README.md @@ -152,14 +152,14 @@ npm install npm start ``` -The development server will be available at http://localhost:3000/examples/browser/demo.html in your favorite browser. +The development server will be available at http://localhost:3000/examples/browser/basic-efficient.html in your favorite browser. It will automatically rebuild `tesseract.min.js` and `worker.min.js` when you change files in the **src** folder. ### Online Setup with a single Click You can use Gitpod(A free online VS Code like IDE) for contributing. With a single click it will launch a ready to code workspace with the build & start scripts already in process and within a few seconds it will spin up the dev server so that you can start contributing straight away without wasting any time. -[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/naptha/tesseract.js/blob/master/examples/browser/demo.html) +[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/naptha/tesseract.js/blob/master/examples/browser/basic-efficient.html) ### Building Static Files To build the compiled static files just execute the following: diff --git a/examples/browser/basic-efficient.html b/examples/browser/basic-efficient.html index 3a063c6..8b720a2 100644 --- a/examples/browser/basic-efficient.html +++ b/examples/browser/basic-efficient.html @@ -7,9 +7,7 @@