From 67182b02c0f7e832448424b1cb1baabe123471bc Mon Sep 17 00:00:00 2001 From: Miroslav Meca Date: Fri, 2 Jun 2017 10:11:07 +0200 Subject: [PATCH 1/2] Add note and fix EXTJS-25185 --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c29befa..f7350a9 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,8 @@ On Windows the "~" part of the path will be replaced by something like "C:\Users You should now be able to point your browser to [http://localhost:8082/](http://localhost:8082/). +**Note:** *Caching are possible only in uses the production build of your app. [More info here](http://docs.sencha.com/cmd/guides/progressive_web_apps.html#progressive_web_apps_-_example_limiting_the_number_of_cached_responses_for_an_api_call).* + ## Run Production Build To run a production build, run these commands: @@ -27,7 +29,7 @@ To run a production build, run these commands: cd client sencha app build cd ../server - NODE_ENV=production npm start + ENV=production npm start This will run a production build and start the server with a path to the production build. You should now be able to point your browser to [http://localhost:8082/](http://localhost:8082/). From 795f46e5a30b88db2dfbb6d807129a52fa5d7b2b Mon Sep 17 00:00:00 2001 From: Miroslav Meca Date: Fri, 2 Jun 2017 11:01:54 +0200 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f7350a9..fff6752 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ On Windows the "~" part of the path will be replaced by something like "C:\Users You should now be able to point your browser to [http://localhost:8082/](http://localhost:8082/). -**Note:** *Caching are possible only in uses the production build of your app. [More info here](http://docs.sencha.com/cmd/guides/progressive_web_apps.html#progressive_web_apps_-_example_limiting_the_number_of_cached_responses_for_an_api_call).* +**Note:** *The service-worker is only included in the production build. [More info here](http://docs.sencha.com/cmd/guides/progressive_web_apps.html#progressive_web_apps_-_example_limiting_the_number_of_cached_responses_for_an_api_call).* ## Run Production Build