# Internal Hosting ### Directory Structure /     /rvm         latestVersion *(static file containing latest RVM Version)*         latest *(latest RVM - 8.1.0.4)*     /runtime         29.108.73.14 *(runtime)*         28.106.72.17 *(static file containing corresponding runtime version)* This is the structure of the `public` directory, which mirrors the OpenFin [CDN](http://cdn.openfin.co/versions/). ## Step 1: Host Your Assets To host this sample project: ```bash npm install npm start ``` This will launch a webserver (on port 5555 or PORT environment variable). To deploy your own, simply copy the public directory (or its structure) and host it with the web server of your choice. ## Step 2: Point To Your Assets `Set a desktop owner settings file in your registry to point to a assetsUrl` - https://developers.openfin.co/of-docs/docs/desktop-owner-settings `Path: HKEY_LOCAL_MACHINE\Software\OpenFin\RVM\Settings\` `Type: REG_SZ (String value)` `Name: DesktopOwnerSettings` `Data: https://example.com/company/files/end-user-desktop-owner-settings.json` Example DOS: "desktopSettings": { "assetsUrl": "http://localhost:5555/", ## Demo This repository includes a sample app which targets a custom version which is fetched from the custom asset location. To launch the sample application load the launch page in the browser using the command below and then click on the fins link to launch the application: ```bash npm run launch ``` The application dynamically populates a div with its current OpenFin version, as a number. Read more about this on our [website](https://openfin.co/hosting-runtime-rvm-assets/) ## License MIT The code in this repository is covered by the included license. However, if you run this code, it may call on the OpenFin RVM or OpenFin Runtime, which are covered by OpenFin’s Developer, Community, and Enterprise licenses. You can learn more about OpenFin licensing at the links listed below or just email us at support@openfin.co with questions. https://openfin.co/developer-agreement/
https://openfin.co/licensing/ ## Support Please enter an issue in the repo for any questions or problems. Alternatively, please contact us at support@openfin.co