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
- add GRADLE_HOME system environment variable with final /bin and insert into PATH
8
8
- Add in the PATH ANDROID_HOME/tools and ANDROID_HOME/platform-tools
9
9
- I copied the server-cordova.js, index.js file and nodejs app (rename folder in nodejs-project) with node_modules and dist under electron-app into www folder
10
10
- cordova prepare and import project into Android studio to install NDK
- remote debugger: https://ionic.zone/debug/remote-debug-your-app#android that is chrome://inspect
13
14
- app is configured on http://localhost:8081
14
15
15
-
16
16
Future Needs:
17
17
18
+
- use nodejs-project (contains node api and angular dist) under www also for electron-app project
19
+
- rename frontend-app with angular-project.
20
+
- update my full-stack-generator with electron app and cordova app
18
21
19
-
- rename electron.app.config with config.json
20
-
- delete api, config.json, package.json (saving that is needed) from electron-app and insert all in a new node-app folder (full nodejs app with angular dist)
21
-
- electron-app will copy node-app under it that has its package.json, index.js, server.js and .env
22
-
- cordova-app with www (has the cordova-server.js and its index.js and package.json) and copies all node-app with dist renamed nodejs-project
23
-
- rename frontend-app with client.
24
-
- update my generator with electron app and cordova app
22
+
All folders are in the same level.
25
23
26
-
All folders are in the same level... SOME FEATURES ARE BEEN ALREADY DEVELOPED IN WWW/NODEJS-PROJECT FOLDER:
24
+
To run cordova project before execute:
25
+
- Run ```npm install``` under www/nodejs-project
27
26
28
-
1) Run ```npm install``` under www/nodejs-project
29
-
2) Run ```npm start``` app folder to run emulator with apk built
30
-
3) Run ```npm run build``` under app folder to build apk
27
+
After one of this according your requirement:
28
+
1) Run ```npm start``` app folder to run emulator with apk built
29
+
2) Run ```npm run build``` under app folder to build apk
31
30
32
-
N.B automatize process maybe with a generator. Then the cordova app run after a minute (or more). Maybe a module for jhipster
31
+
N.B automatize process maybe with a generator. Then the cordova app run after a minute (or more). Maybe a module for jhipster
0 commit comments