getting started with pier

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
14 messages Options
Reply | Threaded
Open this post in threaded view
|

getting started with pier

stéphane ducasse-2
Hi all

I would like to know, is thedefault persistency mechanism of pier  on
when we start the plain default seaside image?

Stef

PS: I found the PierImagePersistency but there is not even a single  
comment. :(

_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: getting started with pier

Lukas Renggli-2
> I would like to know, is thedefault persistency mechanism of pier  on
> when we start the plain default seaside image?

Open an explorer on the kernel of your Pier instance:

        PRKernel instances explore

Select the kernel and evaluate:

        self persistency: PRImagePersistency new

 From then on it should automatically take snapshots every hour when  
something changed. Also it automatically backups the images.

Pay attention not set the image persistency while loading code or  
while doing development. Unfortunately saving the image while code is  
compiled can screw up your changes.

Cheers,
Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch


_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: getting started with pier

stéphane ducasse-2
Ok
what will happen if I do
        PRImagePersistency new snapshot :) like I did to try :)


is there a command that could be used to let the user decide when to  
snapshot?

Stef

On Jun 22, 2008, at 4:53 PM, Lukas Renggli wrote:

>> I would like to know, is thedefault persistency mechanism of pier  on
>> when we start the plain default seaside image?
>
> Open an explorer on the kernel of your Pier instance:
>
> PRKernel instances explore
>
> Select the kernel and evaluate:
>
> self persistency: PRImagePersistency new
>
> From then on it should automatically take snapshots every hour when
> something changed. Also it automatically backups the images.
>
> Pay attention not set the image persistency while loading code or
> while doing development. Unfortunately saving the image while code is
> compiled can screw up your changes.
>
> Cheers,
> Lukas
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
>
>
> _______________________________________________
> SmallWiki, Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki


_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: getting started with pier

Lukas Renggli-2
> Ok
> what will happen if I do
> PRImagePersistency new snapshot :) like I did to try :)

That will take a snapshot.

> is there a command that could be used to let the user decide when to
> snapshot?

There are components to manager users, groups and the system. The  
system component has a button to trigger the snapshot manually. I  
usually add these three components to a protected admin page.

Cheers,
Lukas

>
>
> Stef
>
> On Jun 22, 2008, at 4:53 PM, Lukas Renggli wrote:
>
>>> I would like to know, is thedefault persistency mechanism of pier  
>>> on
>>> when we start the plain default seaside image?
>>
>> Open an explorer on the kernel of your Pier instance:
>>
>> PRKernel instances explore
>>
>> Select the kernel and evaluate:
>>
>> self persistency: PRImagePersistency new
>>
>> From then on it should automatically take snapshots every hour when
>> something changed. Also it automatically backups the images.
>>
>> Pay attention not set the image persistency while loading code or
>> while doing development. Unfortunately saving the image while code is
>> compiled can screw up your changes.
>>
>> Cheers,
>> Lukas
>>
>> --
>> Lukas Renggli
>> http://www.lukas-renggli.ch
>>
>>
>> _______________________________________________
>> SmallWiki, Magritte, Pier and Related Tools ...
>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>
>
> _______________________________________________
> SmallWiki, Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki

--
Lukas Renggli
http://www.lukas-renggli.ch


_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: getting started with pier

stéphane ducasse-2
In reply to this post by Lukas Renggli-2
lukas can add add that to the class comment of PRImagePersistency

Tx

On Jun 22, 2008, at 4:53 PM, Lukas Renggli wrote:

>> I would like to know, is thedefault persistency mechanism of pier  on
>> when we start the plain default seaside image?
>
> Open an explorer on the kernel of your Pier instance:
>
> PRKernel instances explore
>
> Select the kernel and evaluate:
>
> self persistency: PRImagePersistency new
>
> From then on it should automatically take snapshots every hour when
> something changed. Also it automatically backups the images.
>
> Pay attention not set the image persistency while loading code or
> while doing development. Unfortunately saving the image while code is
> compiled can screw up your changes.
>
> Cheers,
> Lukas
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
>
>
> _______________________________________________
> SmallWiki, Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki


_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: getting started with pier

stéphane ducasse-2
In reply to this post by Lukas Renggli-2
Ok excellent I will paly with it.
For now I want to use pier for a private locate pier as I did in the  
past with SmallWiki.

stef

On Jun 22, 2008, at 5:38 PM, Lukas Renggli wrote:

>> Ok
>> what will happen if I do
>> PRImagePersistency new snapshot :) like I did to try :)
>
> That will take a snapshot.
>
>> is there a command that could be used to let the user decide when to
>> snapshot?
>
> There are components to manager users, groups and the system. The
> system component has a button to trigger the snapshot manually. I
> usually add these three components to a protected admin page.
>
> Cheers,
> Lukas
>
>>
>>
>> Stef
>>
>> On Jun 22, 2008, at 4:53 PM, Lukas Renggli wrote:
>>
>>>> I would like to know, is thedefault persistency mechanism of pier
>>>> on
>>>> when we start the plain default seaside image?
>>>
>>> Open an explorer on the kernel of your Pier instance:
>>>
>>> PRKernel instances explore
>>>
>>> Select the kernel and evaluate:
>>>
>>> self persistency: PRImagePersistency new
>>>
>>> From then on it should automatically take snapshots every hour when
>>> something changed. Also it automatically backups the images.
>>>
>>> Pay attention not set the image persistency while loading code or
>>> while doing development. Unfortunately saving the image while code  
>>> is
>>> compiled can screw up your changes.
>>>
>>> Cheers,
>>> Lukas
>>>
>>> --
>>> Lukas Renggli
>>> http://www.lukas-renggli.ch
>>>
>>>
>>> _______________________________________________
>>> SmallWiki, Magritte, Pier and Related Tools ...
>>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>>
>>
>> _______________________________________________
>> SmallWiki, Magritte, Pier and Related Tools ...
>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
>
>
> _______________________________________________
> SmallWiki, Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki


_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: getting started with pier

cedreek
In reply to this post by Lukas Renggli-2
>> is there a command that could be used to let the user decide when to
>> snapshot?
>
> There are components to manager users, groups and the system. The
> system component has a button to trigger the snapshot manually. I
> usually add these three components to a protected admin page.
>
>

Same, I use the exact same layout + shortcut to environments.

if you try quicly this adress, you can see it Steph
http://www.squeakside.com/seaside/pier/Admin?_s=U7SEOg2yds3EUzZ4&_k=H-JkZOZD&_n&14

Maybe this could be a good default page to have (the admin one) ?
as a blog page with archives and other related component.

Cheers

Cédrick


>Cheers,
> Lukas
>
>>
>>
>> Stef
>>
>> On Jun 22, 2008, at 4:53 PM, Lukas Renggli wrote:
>>
>>>> I would like to know, is thedefault persistency mechanism of pier
>>>> on
>>>> when we start the plain default seaside image?
>>>
>>> Open an explorer on the kernel of your Pier instance:
>>>
>>>      PRKernel instances explore
>>>
>>> Select the kernel and evaluate:
>>>
>>>      self persistency: PRImagePersistency new
>>>
>>> From then on it should automatically take snapshots every hour when
>>> something changed. Also it automatically backups the images.
>>>
>>> Pay attention not set the image persistency while loading code or
>>> while doing development. Unfortunately saving the image while code is
>>> compiled can screw up your changes.
>>>
>>> Cheers,
>>> Lukas
>>>
>>> --
>>> Lukas Renggli
>>> http://www.lukas-renggli.ch
>>>
>>>
>>> _______________________________________________
>>> SmallWiki, Magritte, Pier and Related Tools ...
>>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>>
>>
>> _______________________________________________
>> SmallWiki, Magritte, Pier and Related Tools ...
>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
>
>
> _______________________________________________
> SmallWiki, Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>


_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: getting started with pier

Lukas Renggli-2
In reply to this post by stéphane ducasse-2
Done.

On Jun 22, 2008, at 17:41 , stéphane ducasse wrote:

> lukas can add add that to the class comment of PRImagePersistency
>
> Tx
>
> On Jun 22, 2008, at 4:53 PM, Lukas Renggli wrote:
>
>>> I would like to know, is thedefault persistency mechanism of pier  
>>> on
>>> when we start the plain default seaside image?
>>
>> Open an explorer on the kernel of your Pier instance:
>>
>> PRKernel instances explore
>>
>> Select the kernel and evaluate:
>>
>> self persistency: PRImagePersistency new
>>
>> From then on it should automatically take snapshots every hour when
>> something changed. Also it automatically backups the images.
>>
>> Pay attention not set the image persistency while loading code or
>> while doing development. Unfortunately saving the image while code is
>> compiled can screw up your changes.
>>
>> Cheers,
>> Lukas
>>
>> --
>> Lukas Renggli
>> http://www.lukas-renggli.ch
>>
>>
>> _______________________________________________
>> SmallWiki, Magritte, Pier and Related Tools ...
>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>
>
> _______________________________________________
> SmallWiki, Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki

--
Lukas Renggli
http://www.lukas-renggli.ch



_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: getting started with pier

stéphane ducasse-2
In reply to this post by Lukas Renggli-2
>
>
>> is there a command that could be used to let the user decide when to
>> snapshot?
>
> There are components to manager users, groups and the system. The
> system component has a button to trigger the snapshot manually. I
> usually add these three components to a protected admin page.

I tried during 15 min to find them but I failed.
Should I load something?
Else how do I access them?

Setf

_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: getting started with pier

Lukas Renggli-2
>>> is there a command that could be used to let the user decide when to
>>> snapshot?
>>
>> There are components to manager users, groups and the system. The
>> system component has a button to trigger the snapshot manually. I
>> usually add these three components to a protected admin page.
>
> I tried during 15 min to find them but I failed.
> Should I load something?
> Else how do I access them?

1. Create a page containing:

!Users
+users+

!Groups
+groups+

!System
+system+

2. Subsequently click on the non-existing links and add a Component.  
Select 'System Users', 'System Groups' and 'System' as the instance  
for each of them

Cheers,
Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch


_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: getting started with pier

stéphane ducasse-2
>>>> 1. Create a page containing:
>
> !Users
> +users+
>
> !Groups
> +groups+
>
> !System
> +system+
>
> 2. Subsequently click on the non-existing links and add a Component.
> Select 'System Users', 'System Groups' and 'System' as the instance
> for each of them


Thanks
I did that
But I do not get a save button on any of them. (I loaded Pier Setup as  
suggested by doru) so
may be this is because of that.

Stef

_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: getting started with pier

Lukas Renggli-2
You only see the save button, when logged in as admin.

On Jun 22, 2008, at 21:35 , stéphane ducasse wrote:

>>>>> 1. Create a page containing:
>>
>> !Users
>> +users+
>>
>> !Groups
>> +groups+
>>
>> !System
>> +system+
>>
>> 2. Subsequently click on the non-existing links and add a Component.
>> Select 'System Users', 'System Groups' and 'System' as the instance
>> for each of them
>
>
> Thanks
> I did that
> But I do not get a save button on any of them. (I loaded Pier Setup as
> suggested by doru) so
> may be this is because of that.
>
> Stef
>
> _______________________________________________
> SmallWiki, Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki

--
Lukas Renggli
http://www.lukas-renggli.ch



_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: getting started with pier

stéphane ducasse-2
I found the password by accident.

But when I browsed System or groups or users I do not get a save button.


Stef

> You only see the save button, when logged in as admin.

_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: getting started with pier

stéphane ducasse-2
In reply to this post by Lukas Renggli-2
Hi lukas

I redid the complete steps you describe but I do not get a save command.

Stef

>>>> is there a command that could be used to let the user decide when  
>>>> to
>>>> snapshot?
>>>
>>> There are components to manager users, groups and the system. The
>>> system component has a button to trigger the snapshot manually. I
>>> usually add these three components to a protected admin page.
>>
>> I tried during 15 min to find them but I failed.
>> Should I load something?
>> Else how do I access them?
>
> 1. Create a page containing:
>
> !Users
> +users+
>
> !Groups
> +groups+
>
> !System
> +system+
>
> 2. Subsequently click on the non-existing links and add a Component.
> Select 'System Users', 'System Groups' and 'System' as the instance
> for each of them
>
> Cheers,
> Lukas
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
>
>
> _______________________________________________
> SmallWiki, Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki


_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki