Use Fabric for about the samething, but since Horrido not to use version
control I leave thing basic.

Richard

On Mon, Mar 12, 2012 at 1:12 PM, Bruce Wade <bruce.w...@gmail.com> wrote:

> PS: I have my git set to an account that can't ssh to my server. Therefor
> I have to ssh then switch user to pull/push to my repository.
>
>
> On Mon, Mar 12, 2012 at 10:11 AM, Bruce Wade <bruce.w...@gmail.com> wrote:
>
>> I do something similar but much much more efficient.
>>
>> My project is under git version control. When upgraded I create a new
>> branch, unpack the new version of the code, test, if it didn't break
>> anything I then switch to the old branch and merge the new branch into it.
>> This prevents you from have to change all the configurations and do crazy
>> backup's etc... You should use source control for how it was meant to be
>> used.
>>
>>
>> On Mon, Mar 12, 2012 at 10:03 AM, Richard Vézina <
>> ml.richard.vez...@gmail.com> wrote:
>>
>>> I am strongly suggest to you to not updating that way. Or if you do so,
>>> backup your web2py folder before.
>>>
>>> What I usually do:
>>>
>>> download latest source from download page
>>> backup my "staging"/"prod" web2py installation
>>> remove the old installation : cd /home/www-data/ && rm -Rf web2py/
>>> Uncompress the new web2py zip in the folder /home/www-data/
>>> Set permission : sudo chown -R www-data.www-data web2py/
>>> Copy my app in : web2py/applications/my app
>>> Also set permission is required here.
>>>
>>> If you are only talking about the dev environnement, I just let the old
>>> web2py in a folder named with the version and add an other folder with the
>>> new version beside and unpack web2py new version there and bring my app in
>>> the new installation.
>>>
>>> You don't have to bother with permission since you are only use it for
>>> developpement.
>>>
>>> Richard
>>>
>>>
>>>
>>> On Mon, Mar 12, 2012 at 12:45 PM, horridohobbyist <
>>> horrido.hobb...@gmail.com> wrote:
>>>
>>>> I'm currently running Version 1.99.2 on my Ubuntu Linux server. Is
>>>> there an easy way to upgrade to the latest version (1.99.7)?
>>>>
>>>> My web2py installation says "Checking for upgrades...", but it never
>>>> finishes checking! I presume that if it were to finish checking, there
>>>> would be a way to upgrade automatically?
>>>>
>>>>  Thanks.
>>>>
>>>
>>>
>>
>>
>> --
>> --
>> Regards,
>> Bruce Wade
>> http://ca.linkedin.com/in/brucelwade
>> http://www.wadecybertech.com
>> http://www.warplydesigned.com
>> http://www.fitnessfriendsfinder.com
>>
>
>
>
> --
> --
> Regards,
> Bruce Wade
> http://ca.linkedin.com/in/brucelwade
> http://www.wadecybertech.com
> http://www.warplydesigned.com
> http://www.fitnessfriendsfinder.com
>

Reply via email to