Remoto - VFS
|
The client source code can be found here:
git clone ssh://git@gitlab.eyelash.ai:2222/vfs/clients/vfs_client_javascript.git
The javascript client will require a webserver like Apache or Nginx. You may wish to proxy websockets: Nginx Proxy Configuration if your environment requires it.
The javascript client will require a configuration object. The preferred method is to create a config.json
file next to index.html, and config.js
will load and parse it.
An alternative method is to set a window.VFS_config variable in index.html (or elsewhere in javascript) before the client is loaded:
Only the procotol(s) you are using need to be included in the config object. All entries are optional except for host
and port
.
The Javascript Client is a bootloader that will establish a websocket connection to the server and use the VFS_stdlib javascript libraries to draw the interface and service user interaction.
The bootloader libraries could be used with different css or javascript libraries to create a custom application.
The default client will load a user's preferences, theme, and layout file(s), and create a vfsClient instance for managing a user session.
If the verboseLoader url parameter is present and set to "true", all messages shown in the loader modal will echo to the console.