Simple Website setup: Difference between revisions

2,847 bytes added ,  10:29, 1 July 2020
m
Line 126: Line 126:
#Scroll down, and Click the '''Save''' button when you have entered all the values.
#Scroll down, and Click the '''Save''' button when you have entered all the values.


=== Information requested ===
=== Information requested on Internet Settings ===


#''Host name''
#''Host name''
Line 151: Line 151:
#*Other people use it as an easy way for every standard web page to include a link to somewhere else on their web server, a home page, a information about locality page, or a [[User Contributions|third party]] web page they have added to their web site.
#*Other people use it as an easy way for every standard web page to include a link to somewhere else on their web server, a home page, a information about locality page, or a [[User Contributions|third party]] web page they have added to their web site.


Now we need to select the FTP settings:
== Selecting what Cumulus is to upload ==
 
=== Cumulus 1 FTP settings ===
 
Now we need to select the FTP settings which are still on the Internet Settings screen in the Configuration menu:
#In this 'frame' first click on ''Auto Update''; this tells Cumulus you want it to automatically process the web tags in the templates, and generate web pages.
#In this 'frame' first click on ''Auto Update''; this tells Cumulus you want it to automatically process the web tags in the templates, and generate web pages.
#The illustration (in Cumulus 1 interface on left below) shows ''Use active FTP mode'' un-selected as Cumulus '''Help''' suggests.  In active mode, Cumulus is listening for an incoming data connection from the server; in passive mode, Cumulus asks the server if it can establish a connection.
#The illustration (in Cumulus 1 interface on left below) shows ''Use active FTP mode'' un-selected as Cumulus '''Help''' suggests.  In active mode, Cumulus is listening for an incoming data connection from the server; in passive mode, Cumulus asks the server if it can establish a connection.
Line 161: Line 165:
#*It has been set in both illustrated examples below to '''5''' minutes as that is quite good when you first start so you can see all your pages being updated frequently.  Typically people set this to 10 or 15 minutes on established sites. It is tempting to change this to 1 minute, but little is gained from this as on most web pages very few figures change that frequently.
#*It has been set in both illustrated examples below to '''5''' minutes as that is quite good when you first start so you can see all your pages being updated frequently.  Typically people set this to 10 or 15 minutes on established sites. It is tempting to change this to 1 minute, but little is gained from this as on most web pages very few figures change that frequently.
[[File:Web_settings.JPG | Left]](Left hand picture is Cumulus 1.x.y interface, right hand picture is Cumulus MX settings screen)[[File:Cumulus MX realtime settings.png |Right]]
[[File:Web_settings.JPG | Left]](Left hand picture is Cumulus 1.x.y interface, right hand picture is Cumulus MX settings screen)[[File:Cumulus MX realtime settings.png |Right]]
=== Admin Interface: Settings Menu: Internet settings: '''Web/FTP settings'''  ===
[[File:Include graph data files.PNG|right]]
#Click on this heading to expand settings as per illustration.
#''Auto update''
#*Tick this to enable updates to a web server by MX. (Don't tick it if you don't have any web space).
#''Include standard files''
#* Standard files are the web page templates in the web folder, each file as a name ending in "T.htm". Tick here if you want those files to be processed by MX and uploaded at standard web interval to the host and directory we have set earlier.
#''Include graph data files''
#* These are files with an extension ".json" and MX generates these automatically, storing them in the web folder.Tick here if you want those files to be processed by MX and uploaded at standard web interval to the host and directory we have set earlier.
#''Include Moon image file''
#*We first need to set (later on this same settings page) that MX is to use system drawing to produce "moon.png" in the same web folder from "MoonBaseImage.png" in that folder. The base image is of a full moon, MX uses system drawing to generated a masked version of this image every hour that reflects the current phase of the moon and stores that in "moon.png".
#*With "moon.png" being generated, we can tick here to include the new image in an upload by FTP every hour.
#''ActiveFTP mode, FTP rename, Delete before upload''
#*Please be guided by the tips below these selections on the settings page.
#''UTF-8 encoding''
#*Cumulus supports just two encodings, please see [[Webtags#Encoding|Encoding]] section in another article for more information. Here just tick this selection for standard web pages.
#''FTP logging''
#*Normally, this is left unticked, but if you want to check MX is uploading (and you use the simple FTP protocol), you can tick this for every FTP transfer to be logged to [[MXDiags]].
#''Upload interval''
#*Standard web pages are updated on the hour and every x minutes thereafter, where x is the number you enter here. Most people would choose 10, 15, 20, or 30, here depending how much uploading they want, and how up to date they want the displayed information to be.
#*As an aside, if you are not using the standard web pages, many [[:Category:User Contributions|third party]] web pages use ajax (don't worry about what that is) to allow some of the web page content to be updated far more frequently than the actual web pages get uploaded.
#The realtime settings are only needed for the gauges page in the standard set up, and all should be ticked, with an interval selected dependent on how often your web station is able to send new readings to MX.


== Optional Pseudo Real-Time Data ==
== Optional Pseudo Real-Time Data ==
5,838

edits