Reputation: 8076
I followed the instruction at: https://developer.blackberry.com/html5/documentation/use_the_ripple_emulator_chrome_extension_2007542_11.html
to run remote site app project, it works. But when I tested sample (bbui.js sample) on local disk
BB10 document said: https://developer.blackberry.com/html5/documentation/accessing_a_local_project_in_ripple_1948645_11.html
So I copied the bbuijs samples project to Mac OS: /Users//RippleSites.samples
But when I pointed chrome to localhost:9910/samples/index.htm (Ripple emulator extension)
Chrome said could not connect to localhost:9910
Is there anything wrong?
Do I need to run web server sharing?
Welcome any comment
Upvotes: 1
Views: 1565
Reputation: 303
I have the same problem ("could not connect to localhost:9910") on Windows 7 in Chrome with Ripple emulator version 0.9.10 (beta)
The documentation at https://developer.blackberry.com/html5/documentation/accessing_a_local_project_in_ripple_1948645_11.html does mention how to install the Chrome extention. But it does not mention that the Ripple button in Chrome has a popup where you can start the local service running on port 9910.
My steps taken were:
Image of the option menu:
(source: escay.nl)
Upvotes: 1
Reputation: 71
Easiest thing to do here it got to enable "web sharing" (your last pic). create a symbolic link from the Web Server's home dir to your samples. So:
cd /Library/WebServer/Documents/
ln -s <path to your samples> <name of dir>
Note: you might have to use "sudo" ahead of that last command.
You should then be able to go to 127.0.0.1/(name of dir) and it should work for you.
Hope this helps.
Upvotes: 2