JR - we should 100% confirm that before Gord releases so the docs can make it clear. Agreed? I think last time we spoke I wasn't able to get it working on my Windows VM, even with VSE installed. :\
On Mon, Nov 4, 2013 at 9:32 AM, JR <[email protected]> wrote: > Assuming you've got node installed already: > > clone it > ./configure > jake build[hosted] > > add the bin to your path, restart command prompt, and ripple emulate. > > Step 1 might require you to have Visual Studio Express installed. > > > On Mon, Nov 4, 2013 at 10:29 AM, Marc Luria <[email protected]> wrote: > > > So how do I try it out? > > > > m > > > > > > > > On Mon, Nov 4, 2013 at 5:22 PM, Gord Tanner <[email protected]> wrote: > > > > > 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 < > [email protected] > > > >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 <[email protected]> > 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 <[email protected]> > 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 <[email protected]> > > > 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 < > > > > > [email protected] > > > > > > > >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 <[email protected]> > > > 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 : [email protected] > > > > > > > > Blog : www.raymondcamden.com > > > > > > > > Twitter: cfjedimaster > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > =========================================================================== > > > > Raymond Camden, Adobe Developer Evangelist > > > > > > > > Email : [email protected] > > > > Blog : www.raymondcamden.com > > > > Twitter: cfjedimaster > > > > > > > > > > > > > -- > Jonathan > -- =========================================================================== Raymond Camden, Adobe Developer Evangelist Email : [email protected] Blog : www.raymondcamden.com Twitter: cfjedimaster
