You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,8 @@ Moreover, to use the automatic Travis deploy integration, you have only to repla
22
22
23
23
## NEWS
24
24
25
+
* 05/08/2018 Improve electron-app with priority on .env else on electron.app.config.json file
26
+
25
27
* 02/08/2018 Fix bug on reload of electron-client project with [Issue 9](https://github.com/amanganiello90/java-angular-web-app/issues/9).
26
28
27
29
* 04/07/2018 Added spring boot **swagger-ui** enabled on _/swagger-ui.html_ endpoint
@@ -42,7 +44,6 @@ May 30,2018 | **Release 1.0** | available from [GitHub](https://github.com/aman
42
44
43
45
## NEXT DEVELOPMENTS (checked in progress)
44
46
45
-
-[ ] Need to manage better electron.app.config.json and .env variables for electron-app
46
47
-[ ] Create api server in cordova with [cordova plugin webserver](https://github.com/bykof/cordova-plugin-webserver) and [lockijs db](https://github.com/techfort/LokiJS)
47
48
-[ ] Create ui tests with [java cucumber](https://examples.javacodegeeks.com/core-java/junit/junit-cucumber-example/)
48
49
-[ ] Create api and ui tests in node app with a e2e framework
@@ -355,7 +356,7 @@ After built your front-end app with the **-Pbuild-ui** profile (or with *npm run
355
356
356
357
In this way **your frontend app with the express server side**, is running in the electron container. You can read log in its window with **F1 keyword**.
357
358
358
-
> The express server is a child spawn localhost process that is in listening in the port declared in the _process.env.PORT_ variable, else it uses the port declared in the **electron-app/electron.app.config.json** file.
359
+
> The express server is a child spawn localhost process that is in listening in the port declared in the _process.env.PORT_ variable, else it uses the port declared in the **electron-app/electron.app.config.json** file. Every variable of .env file overwrites the electron.app.config.json definitions.
359
360
So you can also open the browser on _localhost:8081_ (default port) to inspect page.
360
361
361
362
@@ -377,8 +378,8 @@ After this, you will have a single **electron-app 1.0.0** (for windows will be a
377
378
**The file created is a standalone distributable desktop app that not require Node or JRE on your machine to be executed.**
378
379
In this way **your frontend app with the express server side**, is running in the electron container. You can read log in its window with **F1 keyword**.
379
380
380
-
> The express server is a child spawn localhost process that is in listening in the port declared in the _process.env.PORT_ variable, else it uses the port declared in the **electron-app/electron.app.config.json** file.
381
-
So you can also open the browser on _localhost:8081_ (default port) to inspect page.
381
+
> The express server is a child spawn localhost process that is in listening in the port declared in the _process.env.PORT_ variable, else it uses the port declared in the **electron-app/electron.app.config.json** file. Every variable of .env file overwrites the electron.app.config.json definitions.
382
+
So you can also open the browser on _localhost:8081_ (default port) to inspect page.
0 commit comments