File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ inspect the corresponding results.
55
66Table of contents:
77* [ Getting Started] ( #getting-started )
8- * [ Static build] ( #static-build )
8+ * [ Static, production build] ( #static-production -build )
99* [ Logging in] ( #logging-in )
1010* [ Configuration file] ( #configuration-file )
1111 * [ Specifying sources] ( #specifying-sources )
@@ -58,15 +58,15 @@ you also need to activate the supporting resources:
5858Some queries require a log in.
5959Log in with the IDP ` http://localhost:8080 ` and the credentials for the user owning the pod named ` example ` in the file ` seeded-pod-config.json ` .
6060
61- ## Static build
61+ ## Static, production build
6262
6363To make a standalone version of the result of this project, you can make a static build and serve it using any webserver. Execute:
6464
6565``` bash
6666npm run build
6767```
6868
69- The static build appears in the ` dist ` folder.
69+ The static build appears in the ` dist ` folder.
7070
7171## Logging in
7272
@@ -234,7 +234,13 @@ The development version might be tested repeatedly during development.
2342341 . Build the production version of the Web application and serve it:
235235
236236 ``` bash
237+ # make really, really sure to build from scratch
238+ rm -rf node_modules/
239+ rm -rf dist/
240+ npm install
241+ # build
237242 npm run build
243+ # serve
238244 npx http-server -p 5173 ./dist
239245 ```
240246
You can’t perform that action at this time.
0 commit comments