- /
- /
- /
Hotloading Forms changes
Start VisionR Dev
It is possible to hot-load certain forms changes. In order to do so, a visionr-dev process is run to monitor the files being edited, and alongside it – a VisionR server instance.
/media/work2/visionr2018/visionr-dev $ npm start
> visionr-dev@6.9.102 start /media/work2/visionr2018/visionr-dev
> ng serve --port 4300 --host 0.0.0.0 --proxy-config proxy.conf.json
** NG Live Development Server is listening on 0.0.0.0:4300, open your browser on http://localhost:4300/ **
Date: 2017-12-25T19:20:23.427Z
Hash: a13ac4bf78c6d9c743c3
Time: 33041ms
chunk {inline} inline.bundle.js (inline) 5.79 kB [entry] [rendered]
chunk {main} main.bundle.js (main) 7.4 MB [initial] [rendered]
chunk {polyfills} polyfills.bundle.js (polyfills) 1.11 MB [initial] [rendered]
chunk {scripts} scripts.bundle.js (scripts) 4.71 MB [initial] [rendered]
chunk {styles} styles.bundle.js (styles) 851 kB [initial] [rendered]
chunk {vendor} vendor.bundle.js (vendor) 21.5 MB [initial] [rendered]
webpack: Compiled successfully.
Upon pointing the browser to http://localhost:4300/, you’ll get a dynamic Forms environment. Now start your project’s server.
nb: such approach is possible with one server
Start VisionR Server
The VisionR Server needs to be configured before starting. Expected result looks like:
/media/work2/konfirmatum $ **vrs run**
Running server konfirmator
DB config check OK!
TCP ports check OK!
STARTING JAVA DEBUG ON PORT 8999
SERVER DEVEL MODE : server files (visionr-server-VERSION.zip) will be directly accessable from the server directory!
Listening for transport dt_socket at address: 8999
13:48:32.058 VSC src directory cleanup: /media/stelf/work2/konfirmatum/work/tmp/vsrc
13:48:32.064 JSK keystore etc/visionr.jks does not exists. Skipping SSL initialization!
13:48:32.068 Unable to load signature etc/license-details.xml. Disabling modules under copyright!
13:48:36.139 Fetched packages in 210 ms : [core.misc,core.data_exchange,core.script_import,core.access,core.export,core.planned,core.filter,core.date,doc.misc,library.misc,library.units,com.misc,reports.misc,reports.overview,contacts.misc,data_view.ctrl,web.misc,web.tree,web.value,web.popup,web.win,web.table,web.resource,web.admin_mask,web.vsp,web.event,web.calendar,web.params,web.app,web.search_mask,web.extra,web.mobile,web.saved_view]
13:48:37.582 New session for 0.0.0.0 with authentication id AEFA6A5AC0DEF988
13:48:37.663 > LOGIN AEFA6A5AC0DEF988:1 0.0.0.0
13:48:37.667 UserSession.getContextAndBegin : ContextManager already set for current thread!
13:48:46.385 >> VisionR-Dev server side boot done <<
13:48:46.420 Starting automatic logout on system startup...
13:48:46.421 Processing session id=11264
13:48:46.507 > LOGIN s0:1 r0
13:48:46.666 Processing session id=11265
13:48:46.757 > LOGIN s1:1 r1
13:48:46.821 Processing session id=11266
13:48:46.870 > LOGIN s2:1 r2
13:48:46.926 Processing session id=11267
13:48:46.977 > LOGIN s3:1 r3
13:48:47.041 Processing session id=11268
13:48:47.065 > LOGIN s4:1 r4
13:48:47.113 Processing session id=11269
13:48:47.152 > LOGIN s5:1 r5
13:48:47.206 Processing session id=11272
13:48:47.242 > LOGIN s6:1 r6
13:48:47.284 Processing session id=11294
13:48:47.337 > LOGIN s7:1 r7
13:48:47.358 Processing session id=11305
13:48:47.417 > LOGIN s8:1 r8
13:48:47.441 Automatic logout finished
13:48:47.653 Insufficient size for property core.message.name | CRR=128 NEW=256
13:48:47.668 Insufficient size for property core.message.name | CRR=256 NEW=512
13:48:47.729 Preload core.message in 255 ms
13:48:47.759 Synchronizing pdf cache...
13:48:47.790 Synchronizing dzi_cache...
13:48:48.313 Can not get integer param from core prefs : 'email.smtp.port'. String value is : null
13:48:48.323 Initializing SMTP service with host: null, port: 25, auth: false, username: null, password: ******
13:48:48.332 Full server boot in 19248ms
13:49:24.731 New session for 127.0.0.1 with authentication id 30c0e6c51b41885cccccf75543471f2
13:49:26.394 Preload library.month in 22 ms
13:49:26.502 Preload library.weekday in 22 ms