ripple-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gord Tanner <gtan...@gmail.com>
Subject Re: newbie question
Date Mon, 04 Nov 2013 15:22:54 GMT
It works now in next (not with the npm version yet).

Yes, you need to tell it where the root of your cordova project is.


On Mon, Nov 4, 2013 at 10:20 AM, Raymond Camden <raymondcamden@gmail.com>wrote:

> Ok - but to be clear - I still need to ensure Ripple knows what folder to
> start off with.
>
> (And sorry if I'm repeating the obvious - I'm just wanting to make sure
> this is clear/documented/etc when I blog.)
>
>
> On Mon, Nov 4, 2013 at 9:12 AM, Gord Tanner <gtanner@gmail.com> wrote:
>
> > It checks for the platforms [1] and then on the requests userAgent it
> > switches to the correct directory [2].
> >
> >
> > [1] -
> >
> >
> https://github.com/apache/incubator-ripple/blob/next/lib/server/emulate/cordovaProject.js#L9-L35
> > [2] -
> >
> >
> https://github.com/apache/incubator-ripple/blob/next/lib/server/emulate/cordovaProject.js#L47-L55
> >
> >
> >
> >
> > On Mon, Nov 4, 2013 at 10:10 AM, Marc Luria <marc@luria.net> wrote:
> >
> > > so how do I install this new version of ripple for 3.0?  And will it
> run
> > on
> > > windows?
> > >
> > >
> > > On Mon, Nov 4, 2013 at 5:01 PM, Gord Tanner <gtanner@gmail.com> wrote:
> > >
> > > > With the latest code you can now run:
> > > >
> > > > > cordova create Baz
> > > > > cd Baz
> > > > > cordova platform add android (or ios or blackberry10)
> > > > > ripple emulate
> > > >
> > > > and it will prepare and host your app from the correct directory.  It
> > > will
> > > > also server the content out of the platform that matches the selected
> > > > device.
> > > >
> > > >
> > > > On Mon, Nov 4, 2013 at 9:55 AM, Raymond Camden <
> > raymondcamden@gmail.com
> > > > >wrote:
> > > >
> > > > > I'm hoping to have a good blog post up and running once Ripple's
> new
> > > > > version become the main release. (Hopefully that is soon.) This is
> > from
> > > > > Gord and seems to work:
> > > > >
> > > > > > cordova create Baz
> > > > > > cd Baz
> > > > > > cordova platform add android
> > > > > > cordova prepare
> > > > > > ripple emulate --path platforms/android/assets/www
> > > > >
> > > > > One thing to note - I get 2 JavaScript prompts in Chrome. You
> *must*
> > > hit
> > > > > cancel for these or Chrome will go into an infinite loop in the
> > console
> > > > and
> > > > > kill the tab. (Or it did so last time.)
> > > > >
> > > > > What is missing from this list is what to do next. Open your
> browser
> > > to:
> > > > >
> > > > > http://localhost:4400/?enableripple=1
> > > > >
> > > > > NOTE the URL!
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On Mon, Nov 4, 2013 at 7:59 AM, Marc Luria <marc@luria.net>
wrote:
> > > > >
> > > > > > I'm trying to ripple up and running again.
> > > > > >
> > > > > > I have a windows machine running ampps, and my application runs
> in
> > > its
> > > > > own
> > > > > > local domain.  Let's call it testdomain.  In other words, in
> order
> > to
> > > > run
> > > > > > it I'm type
> > > > > >
> > > > > > http://testdomain
> > > > > >
> > > > > > to the browser.  I asked for help a while ago, but in the
> meantime
> > > > things
> > > > > > straightened out, and I've been using the chrome extension.
 I
> see
> > on
> > > > > this
> > > > > > list that the future is that npm version, I just can't figure
out
> > how
> > > > to
> > > > > > use it.  Can someone give me simple instructions?
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > >
> > > >
> > >
> >
> ===========================================================================
> > > > > Raymond Camden, Adobe Developer Evangelist
> > > > >
> > > > > Email : raymondcamden@gmail.com
> > > > > Blog : www.raymondcamden.com
> > > > > Twitter: cfjedimaster
> > > > >
> > > >
> > >
> >
>
>
>
> --
> ===========================================================================
> Raymond Camden, Adobe Developer Evangelist
>
> Email : raymondcamden@gmail.com
> Blog : www.raymondcamden.com
> Twitter: cfjedimaster
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message