UserVM Handbook/Windows: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
== Running your VM ==
Now that everything is set up, you can bring your VM online. To run the server right from your terminal, run the following command:
{{code|lang=batch|
yarn serve
}}
Or alternatively, to run it directly:
{{code|lang=batch|
node cvmts/dist/index.js
}}
}}
Now you can build the webapp, and serve it:
{{code|lang=batch|
yarn
yarn build
== Permanently host the webapp ==
If you want to host the webapp on your website, you can build it as follows:
{{code|lang=batch|
cd C:\collabvm\collab-vm-1.2-webapp
yarn build
}}
Then, copy the contents of the <code>dist</code> directory to your website. For example, if your webroot is at <code>/var/www/example.com</code>, and you want your webapp at example.com/collab-vm/:
{{code|lang=batch|
xcopy /S /Y dist C:\path\to\your\webroot\collab-vm\
}}

Navigation menu