WXforum.net
Weather Software => Other Weather Software => Topic started by: lobsterman on March 27, 2019, 12:03:35 PM
-
Is there a way to check the version of the HWS now used only for Meteobridge: https://github.com/weather34/Meteobridge-Weather34-Template
And I could find no instructions about how to upgrade to newer versions.
-
If you'd set up the website using git like
git clone https://github.com/weather34/Meteobridge-Weather34-Template.git ./
while using the git bash command in your document root, then a simple git pull
would bring in all the changed files to your site.
Depending on how Brian set up the .gitignore, that may clobber your settings1.php when you do that, but running easyweathersetup.php again and recustomizing will fix it.
For my Cumulus distribution, I did provide protection to prevent clobbering the settings1.php when git pull is done.
(BTW, the various HWS distributions are NOT INTERCHANGABLE, so please do not port scripts from one distribution to another.. the results may cause the HWS site to stop working).
-
Hmnn, thanks Ken. Tried cloning it into a new folder which works fine, then copied settings1 from the previous install, moved the new folder to the server with a slightly different name for a test (same position on the server so paths are preserved), and things went a little haywire (Admin sidebar popping up all across the web page). So for the moment I'm guessing that settings1 can't be re-used that way?
-
For my Cumulus distribution, I did provide protection to prevent clobbering the settings1.php when git pull is done.
Please note that Brian is not doing that so it will clobber your file.
The best way till that is fix is to do a separate git and sync your changes as the pull comes in.
-
sorry missed this request seems a lot of noise on forum about wu today .
i happy to add it on , personally im still getting to grips with github so every idea is a learning curve for me .
think it would be something like this ?
[ You are not allowed to view attachments ]
-
That looks about right.... But dont quote me as I am new just as you are :P
This can also help:
https://www.atlassian.com/git/tutorials/saving-changes/gitignore
-
good morning all done
just beware if you are using a version prior to March 2019 then its imperative to do a fresh install and setup via the easyweathersetup screen. when you use an old
settings1.php this is when you get a broken view simply new settings cant be found . this is also critical for the menu.php as that I often see users using old 2018 menu.php and it basically is not compatible with 2019 versions.
it should look something like this depending which modules you select to use.
(https://res.cloudinary.com/brian-underdown/image/upload/v1553751722/local_smcoyn.png)