Sha256: 3eb8650310e13aef5aeafd8442f8a2ed28c57962159fd00a482b1f8ab5dcf1dd

Contents?: true

Size: 1 KB

Versions: 2

Compression:

Stored size: 1 KB

Contents

# Localdev

Localdev is a Ruby command line script to register domains that you sometimes use for local development, and to quickly enable or disable local development for those domains. Only expected to work on OS X. Requires sudo access, as it is manipulating your hosts file.

Available commands:

* `localdev add {domain}` — adds the specified domain
* `localdev remove {domain}` — removes the specified domain
* `localdev on` — enables local development
* `localdev off` — disables local development
* `localdev status` — shows the current status

Note: if local development is on, `add` and `remove` commands will immediately update the hosts file and trigger a DNS flush.

## Installation

To install Localdev, use RubyGems:

```bash
sudo gem install localdev
```

## Notes

Your list of local development domains is kept in `/etc/hosts-localdev`.

## License & Copyright

Localdev is Copyright Mark Jaquith 2011, and is offered under the terms of the GNU General Public License, version 2, or any later version.

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
localdev-0.3.1 README.md
localdev-0.3.0 README.md