[Grok-dev] Copying a grok installation to another machine

Sebastian Ware sebastian at urbantalk.se
Tue Sep 8 06:57:54 EDT 2009


You might have problems with this simplified approach if the filepaths  
differ since they are hardcoded by grokproject in bin/buildout and the  
other scripts in AppName/bin.

Mvh Sebastian

On 8 sep 2009, at 10.57, Ritsjoena wrote:

> For a fast and easy demo/test you can simplify this by just copying
> the grokproject dir (and others if the app needs them) and run bin/
> buildout (adapt .cfg if needed)
>
> If people have to actually work with it Sebastian's way is far better.
> It gives more control, easier to distribute etc.
>
> Gr.,
> Bram
>
>
> On Sep 7, 9:29 am, Sebastian Ware <sebast... at urbantalk.se> wrote:
>> The best way is to version control your project:
>>
>>    setup.py
>>    src/app_name/*
>>
>> and then:
>>
>> 1) create a grokproject with the same app_name on the demo machine
>> 2) checkout your code
>> 3) possibly update buildout.cfg
>> 4) run bin/buildout
>> 5) copy parts/data/data.fs to the demo machine
>> 6) bin/zopectl fg
>>     (to run in foreground mode, so you get the error messages in the
>> console)
>>
>> This is also what you would do to deploy your app. Note that any eggs
>> that you need have to be installed on the demo machine so you will
>> need an internet connection or other means of provising the eggs.
>>
>> Mvh Sebastian
>>
>> On 7 sep 2009, at 01.30, Milind Khadilkar wrote:
>>
>>
>>
>>> Hi,
>>> What is the easy (and clean) method to copy a grok istallation from
>>> one machine to another machine (same platform: x86+Windows XP SP2,
>>> same python version: 2.5.4, and the same python path: c:\python254).
>>
>>> Reason for wishing to copy: Need to demonstrate Grok basics to a
>>> bunch of non-python developers. Time available not sufficient to
>>> install from the internet. I have an earlier working installatio on
>>> one machine.
>>
>>> Thanks and regards
>>> Milind Khadilkar
>>> _______________________________________________
>>> Grok-dev mailing list
>>> Grok-... at zope.org
>>> https://mail.zope.org/mailman/listinfo/grok-dev
>>
>> _______________________________________________
>> Grok-dev mailing list
>> Grok-... at zope.orghttps://mail.zope.org/mailman/listinfo/grok-dev
> _______________________________________________
> Grok-dev mailing list
> Grok-dev at zope.org
> https://mail.zope.org/mailman/listinfo/grok-dev



More information about the Grok-dev mailing list