Running/RemoteAccess

Not logged in - Log In / Register

Revision 8 as of 2009-08-15 23:22:37

Clear message

This page tells you how to modify a development Launchpad so you can access it from other machines. Ask for help right away if you run into problems.

These instructions assume that you already have Launchpad working for local access, and now you want it to be accessible from other machines on the same LAN.

IP Addresses

A full Launchpad development setup requires two IP addresses on the local machine, on which to run two HTTPS listeners - one for main Launchpad, and one for Loggerhead (code browsing) of private branches. As most developer workstations have only one non-local IP address, and as the second one is only required for Loggerhead on private branches, you may well not bother to set up an additional IP address. If you do want to do this, identify a suitable IP address, and add it to your machine's network configuration now.

Amending the Apache configuration

These instructions assume that you are using the Ubuntu packaged Apache 2.2 in Intrepid or later. Hardy users see the "Notes for Hardy" subsection.

Restart your Apache server.

Notes for Hardy

Amending the hosts file

When you ran rocketfuel-setup, your /etc/hosts file was configured with many launchpad.dev DNS names mapped onto a pair of local IP addresses. Change them both to the non-local IP address of the machine running the development Launchpad. Or, if you did allocate a second IP address, change 127.0.0.88 to the main IP address of the machine, and change 127.0.0.99 to the second IP address you allocated.

You'll need to copy these /etc/hosts lines into the /etc/hosts file of every other machine you want to access the development Launchpad instance.

If some of those other machines run Windows, it may be helpful to know that the Windows equivalent of /etc/hosts is located at C:\WINDOWS\system32\drivers\etc\hosts.

That's it!

If you did everything above, you should new be able to access https://launchpad.dev/ in a web browser on a suitably configured remote computer.