HVAC Wiki

All things related to HVAC

User Tools

Site Tools


suppliers:hvac.io:graphivac:installation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
suppliers:hvac.io:graphivac:installation [2017/05/12 01:27] – [graphivac-server.jar] frozenlocksuppliers:hvac.io:graphivac:installation [2019/03/24 16:49] – [Adding Graphivac as a Service (Optional)] frozenlock
Line 15: Line 15:
  
 ===== Graphivac Server ===== ===== Graphivac Server =====
 +
 +**NB: When downloading new versions, you might need to rename the java file.**
  
 The entire Graphivac server is contained within a single .jar file. The entire Graphivac server is contained within a single .jar file.
Line 23: Line 25:
 The application can be started with the following command: The application can be started with the following command:
  
-<code> java -jar graphivac-server.jar <port number> </code>  +<code> java -jar graphivac-server.jar </code> 
-(where <port number> is the port you want to use.)+ 
 +You can also provide a specific port number with the -p argument : 
 +<code> java -jar graphivac-server.jar -p 3003 </code> 
  
 After a few seconds, the server should be up and running.  After a few seconds, the server should be up and running. 
 You can now take your browser and go to: You can now take your browser and go to:
-<code> http://localhost:<port number> </code> +<code> http://localhost:3003 </code> 
- +===== Adding Graphivac as a Service (Optional) =====
-NB: When downloading new versions, you might need to rename the java file. +
-===== Adding Graphivac as a Service =====+
  
 You might want to make sure the Graphivac server always starts as soon as the server boots, or that it restores itself in case of a crash. You might want to make sure the Graphivac server always starts as soon as the server boots, or that it restores itself in case of a crash.
Line 62: Line 64:
 script script
     cd PATH-TO-THE-JAR     cd PATH-TO-THE-JAR
-    java -jar graphivac-server.jar PORT &+    java -jar graphivac-server.jar -p PORT &
 end script end script
  
suppliers/hvac.io/graphivac/installation.txt · Last modified: 2020/07/23 08:28 (external edit)