Added production build docs

Also move html style to the index.html
Closes #1127
This commit is contained in:
Igor Zhukov 2016-06-06 20:46:08 +03:00
parent c5526851cf
commit 82a37f0e7a
4 changed files with 11 additions and 2 deletions

View File

@ -85,6 +85,10 @@ To run this application in Firefox as a packaged app, open "Menu" -> "Developer"
Run `gulp watch` to watch for file changes and automatically rebuild the app.
#### Running in production
Run `gulp clean`, then `gulp publish` to build the minimized production version of the app. Copy `dist` folder contents to your web server. Don't forget to set `X-Frame-Options SAMEORIGIN` header ([docs](https://developer.mozilla.org/en-US/docs/Web/HTTP/X-Frame-Options)).
### Third party libraries

View File

@ -15,6 +15,12 @@
<link rel="stylesheet" href="css/app.css"/>
<!-- endbuild -->
<style>
html {
display: none;
}
</style>
<!-- <link rel="stylesheet" href="css/font.css"/> -->
<!-- <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600&amp;subset=cyrillic,cyrillic-ext,latin,latin-ext" rel="stylesheet" type="text/css"> -->

View File

@ -3,7 +3,6 @@
/* app common css */
html {
display: none;
background: #e7ebf0;
overflow: visible;
}

View File

@ -1,6 +1,6 @@
CACHE MANIFEST
# 64
# 65
NETWORK:
*