UserVM Handbook/Windows: Difference between revisions

no edit summary
No edit summary
No edit summary
}}
This will run the webapp at <code>127.0.0.1:1234</code>, which you can navigate to in your browser. If all went well, your VM should show up. If not, and you don't know why, join our discord and ask for help there!
 
=== Setting up a service ===
 
We will now set your VM up as a background service using the NSSM runner.
 
In admin CMD:
 
{{code|lang=batch|
nssm install collabvm
}}
 
This will open the NSSM setup GUI. Configure each page as follows
 
==== Application ====
 
'''Path:''' <code>C:\Program Files\nodejs\node.exe</code>
 
'''Startup directory:''' <code>C:\collabvm\collabvm-1.2.ts</code>
 
'''Arguments:''' <code>C:\collabvm\collabvm-1.2.ts\cvmts\dist\index.js</code>
 
==== Details ====
 
'''Startup type:''' ''Automatic'' if you want your VM to start with your computer, ''Manual'' if you want to start it manually
 
==== Log on ====
 
'''Log on as:''' Virtual Service Account (very important for security)
 
==== I/O ====
 
'''Output (stdout):''' <code>C:\collabvm\out.log</code>
 
'''Error (stderr):''' <code>C:\collabvm\err.log</code>
 
 
 
You can now start your VM with:
 
{{code|lang=batch|
net start collabvm
}}
 
And stop it with:
 
{{code|lang=batch|
net stop collabvm
}}