Running the Skittr example.

3 views
Skip to first unread message

TylerWeir

unread,
Mar 23, 2010, 3:24:36 PM3/23/10
to Goat Rodeo
I had to add the jetty details to the pom.xml to get it to run, but I
see nothing at localhost:8080.

Was the jetty stuff missing for a reason? Should I be running this as
a lib in another lift app?

David Pollak

unread,
Mar 23, 2010, 7:43:14 PM3/23/10
to goat-...@googlegroups.com
On Tue, Mar 23, 2010 at 12:24 PM, TylerWeir <tyler...@gmail.com> wrote:
I had to add the jetty details to the pom.xml to get it to run, but I
see nothing at localhost:8080.

Was the jetty stuff missing for a reason?  

Because I haven't finished that part of the code ;-)
 
Should I be running this as
a lib in another lift app?

I'll get it running tonight.
 

--
You received this message because you are subscribed to the Google Groups "Goat Rodeo" group.
To post to this group, send email to goat-...@googlegroups.com.
To unsubscribe from this group, send email to goat-rodeo+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/goat-rodeo?hl=en.




--
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics

TylerWeir

unread,
Mar 23, 2010, 8:54:39 PM3/23/10
to Goat Rodeo

On Mar 23, 7:43 pm, David Pollak <feeder.of.the.be...@gmail.com>
wrote:


> On Tue, Mar 23, 2010 at 12:24 PM, TylerWeir <tyler.w...@gmail.com> wrote:
> > I had to add the jetty details to the pom.xml to get it to run, but I
> > see nothing at localhost:8080.
>
> > Was the jetty stuff missing for a reason?
>
> Because I haven't finished that part of the code ;-)

Ok, makes sense :)

No rush, I was just doing a bit of investigation.

>
> > Should I be running this as
> > a lib in another lift app?
>
> I'll get it running tonight.
>
>
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Goat Rodeo" group.
> > To post to this group, send email to goat-...@googlegroups.com.
> > To unsubscribe from this group, send email to

> > goat-rodeo+...@googlegroups.com<goat-rodeo%2Bunsubscribe@googlegrou ps.com>


> > .
> > For more options, visit this group at
> >http://groups.google.com/group/goat-rodeo?hl=en.
>
> --
> Lift, the simply functional web frameworkhttp://liftweb.net

> Beginning Scalahttp://www.apress.com/book/view/1430219890

David Pollak

unread,
Mar 25, 2010, 12:29:34 AM3/25/10
to goat-...@googlegroups.com
I've updated the Goat Rodeo examples and begun work on a test harness for the examples.

To run the Skittr example, do an "mvn clean install" at the top level of the Goat Rodeo distribution.

cd into the skittr directory and run the Skittr example: mvn jetty:run

To run the harness and add a user, open a second window and cd into the harness directory and type "sbt"  At the sbt prompt, type "update" to pull all the jar files.  Then type "run foo" and "run bar"  This will create 2 records in the Skittr database for the foo and bar users.  Once this is done, you can look at http://localhost:8080/timeline/1 to get the list of messages in user #1's timeline.

I'll spend some time next week adding commands to the harness that demonstrate following, unfollowing, and posting updates.

To unsubscribe from this group, send email to goat-rodeo+...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/goat-rodeo?hl=en.




--
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890

Tyler Weir

unread,
Mar 25, 2010, 4:47:01 AM3/25/10
to goat-...@googlegroups.com
I'll give it a run today. 

Thanks dpp. 

Heiko Seeberger

unread,
Mar 27, 2010, 4:41:05 PM3/27/10
to goat-...@googlegroups.com
Yup, that works. Well, user #1 timeline is empty ...

Heiko
Heiko Seeberger

Company: weiglewilczek.com
Blog: heikoseeberger.name
Follow me: twitter.com/hseeberger
OSGi on Scala: scalamodules.org
Lift, the simply functional web framework: liftweb.net
Goat Rodeo, highly scalable computing: goatrodeo.org

Heiko Seeberger

unread,
Mar 30, 2010, 9:19:50 AM3/30/10
to goat-...@googlegroups.com
On 27 March 2010 21:41, Heiko Seeberger <heiko.s...@googlemail.com> wrote:
Yup, that works. Well, user #1 timeline is empty ...

To be more precise:

The webapp (jetty:run) is up and running and the harness says
{
  "$persisted":true,
  "name":"foo",
  "id":1,
  "created":false
} 200
[info] == run ==
[success] Successful.

That looks good!

But when I go for http://localhost:8080/timeline/1 the result looks empty:

{
  "jsonClass":"com.skittr.ListOfMessages",
  "msgs":[]
}

Shouldn't I get messages back?

Heiko
Reply all
Reply to author
Forward
0 new messages