HomeWeatherStationTemplate: Difference between revisions

m
Added GitHub instructions
m (Update for caveat about mix-n-match, and about download/refresh site)
m (Added GitHub instructions)
 
Line 10: Line 10:
'''GitHub repository:''' https://github.com/ktrue/CU-HWS
'''GitHub repository:''' https://github.com/ktrue/CU-HWS


If you can, use ''git clone'' to clone the master distribution to your website as this will enable easy future updates via a ''git pull'' command.  Otherwise, you'll need to watch the master distribution for changes.
If you can, use ''git clone'' to clone the master distribution to your website as this will enable easy future updates via a ''git pull'' command.  Otherwise, you'll need to watch the master distribution for changes.  You can use [https://git-scm.com/download/win Git for Windows] or install git (if needed) on linux systems using
<code>sudo apt-get install git</code>.  Once you have git installed, you can (using shell in linux or gitbash in windows) cd to the directory in which to install the template, then <br><br>
<code><nowiki>
git clone https://github.com/ktrue/CU-HWS ./
</nowiki></code>
<br><br>
to clone the master distribution.  For updates, just (using shell in linux or gitbash in windows) cd to the same directory and do<br><br>
<code>
git pull
</code>
<br><br>
and you'll receive all the updated files.  It won't clobber an existing ''settings1.php'' setup so can be done as often as you like.


If you want to do a 'mass update' of your CU-HWS website, just save off your ''settings1.php'', download the distribution, unpack it, upload to your website and copy your saved ''settings1.php'' back .. then your site will be fully refreshed.
If you want to do a 'mass update' of your CU-HWS website, just save off your ''settings1.php'', download the distribution, unpack it, upload to your website and copy your saved ''settings1.php'' back .. then your site will be fully refreshed.