Category:Cumulus MX: Difference between revisions

m
= Installing and Running Cumulus MX =
 
== Installing ==
There is no automatic installer (this may change). Cumulus MX is supplied as a zipped package on a link from [[software|download page]].
 
When running Cumulus MX, you either have a package that runs it for you, or in your command type interface you type '''CumulusMX.exe''' or '''sudo mono CumulusMX.exe''' depending on device, (or click a shortcut). There is a second exe file in the package. <tt>ExportMySql.exe daily</tt> or '''sudo mono ExportMySql.exe daily''' depending on device will populate a newly created database table to hold daily summary values with past rows. Replace "dayfile" with "monthly" in the run instruction for this exe to update all rows in a newly created table to hold values from all the monthly log files.
 
There is a second exe file in the package. <tt>ExportMySql.exe daily</tt> or '''sudo mono ExportMySql.exe daily''' depending on device will populate a newly created database table to hold daily summary values with past rows. Replace "dayfile" with "monthly" in the run instruction for this exe to update all rows in a newly created table to hold values from all the monthly log files.
You can also add parameters to the normal MX run instruction e.g. '''CumulusMX.exe -lang en-GB''' (to select the GB locale), '''CumulusMX.exe -port 8002''' (to change the port where the user interface runs), or '''CumulusMX.exe -debug''' (to have full debugging turned on as MX starts), '''CumulusMX.exe -Logging=1''' (for the Davis specific logging).
 
 
== Optional parameters to add to the instruction to run the MX engine ==
 
The port, locale, logging, and debug switch have just been mentioned, here are some more details for the first two.
 
=== Parameter for changing Port ===
When Cumulus starts, it will display the URL of the user interface. It runs on port 8998 by default; if this is not suitable for some reason you can over-ride it using the '-port' parameter on the command line, e.g. to use port 9999 instead:
<pre>sudo mono CumulusMX.exe -port 9999</pre>
 
=== Parameter for adding debugging ===
 
You can also add parameters to the normal MX run instruction e.g. '''CumulusMX.exe -lang en-GB''' (to select the GB locale), '''CumulusMX.exe -port 8002''' (to change the port where the user interface runs), or '''CumulusMX.exe -debug''' (to have full debugging turned on as MX starts), '''CumulusMX.exe -Logging=1''' (for the Davis specific logging).
 
<pre>sudo mono CumulusMX.exe -debug -Logging=1</pre>
 
=== Parameter for changing Locale ===
5,838

edits