Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding an external server in Aptana Studio 3

How can I add an external server in Aptana Studio 3, since there is no Servers view?

Here are some instructions on how to do it but they both use Windows > Show view > Servers which is no longer available in Aptana 3. With the console is possible? How?

I have a wamp server installed and I can run correctly php files stored inside the htdocs folder. Now I want to run those php files from Aptana but I was getting blank pages.

In Project > Run Configurations I noticed the "Use selected server" option but no possibilty to add a server there, so I used "Use base URL" together with "Append project name" and now I can run php files from Aptana but I am still wondering if it is the best option and how I could tell Aptana to use the wamp server.

adding a server in Aptana Studio 3

like image 521
Carlos Torres Avatar asked May 11 '11 17:05

Carlos Torres


2 Answers

In Aptana Studio 3 you need to open Preferences, Aptana/ Web Servers node and add your local apache server there. If you set the document root correctly, your apache server will be used for previewing in Studio (See Preview button on toolbar).

like image 130
Max Avatar answered Oct 10 '22 22:10

Max


Just add an alias in my apache config like

Alias /aptana "C:/Aptana/Aptana Studio 3 Workspace"

where I have MyApp project in Aptana,

Then in Run cnfiguration, Web Browser, My Apache Server,

Use base url = http://<domain><port>/aptana/

In my browser URL : http:///aptana/MyApp

That's all

like image 25
user2838656 Avatar answered Oct 10 '22 20:10

user2838656