How to run an htm file on local (wamp) server?

Hello,

I'm using Sencha Touch to create a mobile app. In order to check the app, I can run an html file to start the app. All my code is setup on my local machine running a local (wamp) server.

When I click the little browser icon (Run in Browser) I want to browser open the file on localhost. However, the file always gets opened as file://D:/wamp/www/myproject/index.htm. Instead I need the file open as http://localhost/myproject/index.htm.

For the life of me I am not able to figure out how to make this happen. Any help please?

PhpStorm 5.0.2
Win 7 x64
Wamp local server

Thank you!

2 comments
Comment actions Permalink

Properly define deployment entry in Settings | Deployment and mark it as Default for this project.

0
Comment actions Permalink

The issue was that I didn't mark it as "Default". That did the trick. Thanks!

0

Please sign in to leave a comment.