Correct way to update raspberry pi emoncms

Hi

I have emoncms running on a pi. I installed it following the instructions word for word by cut and paste with only a vague idea of what was happening. I am delighted that it works. I installed from git with:-

$ git clone git://github.com/emoncms/emoncms.git

I see Trystan has made some changes. What is the correct procedure for updating my pi server. TIA.

Regards

 

Ian

 

robw's picture

Re: Correct way to update raspberry pi emoncms

As far as i know..

 

Open a terminal on the pi

change dir to the install dir .. normally "/var/www/emoncms"

type in "git pull" and it should update for you..  Someone maybe along soon though and say this is rubish or not correct its just what i do..

Also make sure you go to the admin section on you emoncms install and re-run the scripts..

fluppie007's picture

Re: Correct way to update raspberry pi emoncms

I think this is the right way. Mine says: already up-to-date :-).
But I think you should do also a git pull in the /var/www/emoncms/Modules/raspberrypi directory or maybe /var/www/emoncms/Modules is fine.

Ian Eagland's picture

Re: Correct way to update raspberry pi emoncms

Many thanks.

Git pull in /var/www/emoncms did the trick as far as I can tell at this stage.

Regards

 

Ian

 

 

fluppie007's picture

Re: Correct way to update raspberry pi emoncms

Did it this morning with Trystan's new commits. The command git pull in the /var/www/emoncms/ directory is indeed enough, the modules get updated too :-)!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.