interactive ptah

18 views
Skip to first unread message

Alan Runyan

unread,
Apr 13, 2012, 4:51:40 PM4/13/12
to ptahp...@googlegroups.com
Hung out with Carlos last night. Spoke about interactive
web applications, ptah, pyramid, javascript and family and
the Saints. I didnt have my laptop - so here it is Carlos and
good seeing you!

Trying to fit a screencast in before the weekend.

http://www.screenr.com/JVx8

install:
$ git clone //github.com/ptahproject/devel.git
$ cd devel
$ python2.7 bootstrap.py
$ bin/buildout -c devel.cfg
$ bin/pserve ptah.ini

have a good weekend

--
Alan Runyan
Skype/Twitter:: runyaga
Office:: 713.942.2377 ext 111
http://ploud.com/  Plone site in less than 10 seconds

Nikolay Kim

unread,
Apr 13, 2012, 4:55:14 PM4/13/12
to ptahp...@googlegroups.com
default manager login/password: admin/12345
interactive app url: http://localhost:8080/wstest.html

Michael Bernstein

unread,
Apr 22, 2012, 2:47:38 PM4/22/12
to ptahp...@googlegroups.com
On Fri, Apr 13, 2012 at 2:51 PM, Alan Runyan <run...@gmail.com> wrote:
>
> install:
>  $ git clone //github.com/ptahproject/devel.git
>  $ cd devel
>  $ python2.7 bootstrap.py
>  $ bin/buildout -c devel.cfg
>  $ bin/pserve ptah.ini

Having some trouble getting this to work:

$ git clone git://github.com/ptahproject/devel.git
$ cd devel

So far so good.

$ python2.7 bootstrap.py

This fails because the checkout doesn't have a buildout.cfg, but the
following succeeds:

$ python2.7 bootstrap.py -c devel.cfg
$ bin/buildout -c devel.cfg

But this doesn't result in a bin/pserve, so the following can't work:

$ bin/pserve ptah.ini

So, I'm stumped.

On a related note, following the Ptah tutorial (at
http://ptahproject.readthedocs.org/en/latest/tutorial.html) results in
an exception as soon as you try to run the server:

pyramid.exceptions.ConfigurationExecutionError: <type
'exceptions.KeyError'>: 'ptah'
in:
Line 27 of file
/home/webmaven/Desktop/projects/urbsly/urbsly-newsite/urbsly/urbsly/app.py:
config.ptah_init_sql()

Any clue what I'm doing wrong?

--
Michael R. Bernstein
Founder - urbsly.com
michaelbernstein.com

Ron Chichester

unread,
Apr 22, 2012, 11:13:57 PM4/22/12
to ptahp...@googlegroups.com
Before the third step, you should:

$ touch bootstrap.py

That way, there will be a file there (to amend) when the system is looking for it.

Ron

Michael Bernstein

unread,
Apr 22, 2012, 11:51:35 PM4/22/12
to ptahp...@googlegroups.com
On Sun, Apr 22, 2012 at 9:13 PM, Ron Chichester <com...@gmail.com> wrote:
> Before the third step, you should:
>
> $ touch bootstrap.py
>
> That way, there will be a file there (to amend) when the system is looking
> for it.

I assumed you meant:

$ touch buildout.cfg

Which works, insofar as the bootstrap and buildout now conclude, but
the buildout.cfg file is not modified by the bootstrap, and after the
buildout there is still no bin/pserve.

Ron Chichester

unread,
Apr 22, 2012, 11:59:09 PM4/22/12
to ptahp...@googlegroups.com
Yes (D'oh!).  And I go the same result, but I think for a different reason.  The problem (lack of pserver) seemed to stem from a lack of authentication from github.com.  Something about a host key verification failure.  Did you notice the same issue?

Ron
Reply all
Reply to author
Forward
0 new messages