Instaweb

Component ID

1189470

Component name

Instaweb

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

482

Component created

Component changed

Component body

Instaweb is a drush command which starts a development webserver on localhost for the current drupal installation much like rails server or django-admin.py runserver.

Compatibility and Requirements

Instaweb runs on Linux and requires lighttpd and mod_magnet.

Installation

Issue the command drush pm-install instaweb wherever you like it. Probably the best choice is in ~/.drush. Refer to the drush README.txt for more choices.

Usage

$ drush help instaweb
Run a development webserver for this drupal instance

Options:
 --bind                                    Bind the testserver to this ip    
                                           address. Default: localhost       
 --port                                    Use specified TCP port. Default:  
                                           3000                              
 --server                                  Path to lighttpd binary. Default: 
                                           /usr/sbin/lighttpd                

This module is for developers running Linux. If you are not a developer or if you run another OS, please do not install this module. It might also work on OSX but its not tested and some minor tweaks like adapting the absolute path to lighty might be necessary.

Related Projects

A drush command wrapping a pure platform independant PHP webserver is included in drush version 5. Look out for the drush command runserver.