1,727
edits
m (→Inner working) |
|||
== Inner working ==
In this section for every module the effect of Thrifty is described and a summary is given. The explanation of thrifty starts by what you can do manually.
=== Uploading manually ===
When you upload manually you just need to know, it is not required to upload everything. Just upload the files which have changed or which have changed so much that you think it useful to upload them.
Always upload index.html after generating the website.
So here is the list from the distribution which you can safely NOT upload if there are no changes to the system (e.g. an Update), if they have been uploaded once:
#HighchartsDefaults.js
#gauges.js
#suncalc.js
#tween.min.js
#language.js
#RGraph.common.core.js
#RGraph.rose.js
#steelseries.min.js
These files will be generated by the ''Website'' command. If you did not change anything, they do NOT need to be uploaded:
#cumulusutils.js
#cumuluscharts.txt
#HighchartsLanguage.js
For each of the modules you can safely rarely upload the following because the changes are none or minimal. The files are listed with a minimal advised upload frequency:
#forecast.txt [advise: only initial (if you are using the Norwegian system or SpotWX) or daily (if you are using yourweather). No advise for WXSIM]
#graphsmisc.txt, graphsrain.txt, graphstemp.txt, graphswind.txt, graphssolar.txt [advise: every other day]
#noaa.txt [advise: every 2d day of the month]
#Yadr.txt [advise: Every year, 2 January]
#Yadr[func][year].txt [advise: Every day] where func is : Rain, Hum, Temp, Press and Wind and where year is THE CURRENT YEAR. All other data files from previous years are already uploaded and won't change and therefore don't need to be uploaded nor generated]
#The records files (top10, records and dayrecords) need only upload if a new records is set.
#Stationmap.txt [advise: once per year]
The above is the advise if you are uploading manually and make the decisions on your own. It is also important for understanding what is happening in the automatic Thrifty system. If you upload automatically everything this is being taken care of : a module is generated and uploaded only according to the above specification.
|