Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Developer
squished18
Posts: 289
Registered: ‎10-17-2008
My Carrier: Rogers

new to web development

Hello,

 

I'm new to web development and I notice that in order to get the Ripple emulator working I need a local web server. Would someone please provide me with recommendations for a free local web server? I am on Windows XP.

 

Thanks,

 

feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
Please use plain text.
Developer
squished18
Posts: 289
Registered: ‎10-17-2008
My Carrier: Rogers

Re: new to web development

I think I've got Apache running enough to get started at the moment. If anybody has any suggestions on a better system to use for a newbie like myself, please let me know.

 

Thanks,

 

feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
Please use plain text.
Contributor
inawire
Posts: 33
Registered: ‎07-08-2010
My Carrier: Telus

Re: new to web development

[ Edited ]

If I need a local webserver on a windoz box (laptop or dev server) we use WAMP.

 

You can get it hear:

http://www.wampserver.com/en/

 

We use it on XP, Win 7, Server 2000 etc...

 

It includes Apache, MySQL and PHP (not sure what your complete requirements are).

 

You can edit the httpd.conf file([install]/bin/apache/[apache vewrsion]/conf/) to change your localhost settings (your default site). You can also un-comment the line at the bottom of this file and include the httpd-vhost.conf file (found in install]/bin/apache/[apache vewrsion]/conf/extra/)

 

There are two sample sites in there. Using this you can run as many virtual sites as you want on one computer.

 

There is some learning involved here (and frustrations) but you can get most of what you need from a few searches on Apache httpd.conf

Windows HOST file

Apache Directory 

 

 

I've included a sample VirtualHost 

You will need to change folder paths and IPs for your setup.

 

#
<VirtualHost 10.0.50.5:80>
    ServerAdmin webmaster@dummy-host.example.com
    DocumentRoot "C:/data/OurProjectNameHere/wwwroot/htdocs"
    ServerName 10.0.50.5
    ServerAlias 10.0.50.5
    <Directory "C:/data/OurProjectNameHere/wwwroot/htdocs/">
        Options Indexes FollowSymLinks
        AllowOverride all
        #   onlineoffline tag - don't remove
        Order Deny,Allow
        Deny from all
        Allow from 10.0.50.0/255.255.255.0
    </Directory>   
    ErrorLog "logs/ProjectName_error.log"
    CustomLog "logs/ProjectName_access.log" common
</VirtualHost>

Hope this helps get you going.

 

Ross

Please use plain text.
Developer
johnbibs
Posts: 905
Registered: ‎02-07-2009
My Carrier: Globe Telecom

Re: new to web development

Hi squished18,

Are you using the Chrome Plugin? actually you don't need a webserver to use Ripple. In chrome plugin, run your chrome with –allow-file-access-from-files parameters and just set the "allow access to urls" in the extensions.

As for the Ripple Emulator stand-alone, i'm still trying to make it work. :smileyhappy:

cheers!
Please use plain text.
BlackBerry Development Advisor
jeffheifetz
Posts: 518
Registered: ‎07-18-2011
My Carrier: Rogers

Re: new to web development

The easiest way to setup a webserver is dropbox. Just put the files in your public folder and it should work.



1.Please resolve your thread by clicking the "Accept as Solution" button below the post which solved your problem!
2. If any post helps you please click the button below the post(s)
Please use plain text.
Developer
squished18
Posts: 289
Registered: ‎10-17-2008
My Carrier: Rogers

Re: new to web development

Thanks to everyone for their excellent suggestions. So many ways to skin a cat.

feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
Please use plain text.
Trusted Contributor
mobilvar
Posts: 119
Registered: ‎11-28-2011
My Carrier: Verizon

Re: new to web development

Thanks. Dropbox does work.

Please use plain text.