Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #12 from ccowan/master

Documention Fixes
  • Loading branch information...
commit 76c97c8e5f1abf866e3d3fd461464c555266bb7d 2 parents 1e2dd8e + c15f441
Jan Lehnardt janl authored
Showing with 7 additions and 9 deletions.
  1. +7 −9 README.md
16 README.md
View
@@ -21,21 +21,19 @@ Yes, you can do that by messing with `/etc/hosts`, but it ain’t pretty, and yo
## Setup
- $ brew install local-tld
+ $ npm -g install local-tld
# or for now git clone $thisrepo
- $ sudo local-tld setup
- # once time sudo required
- $ $EDITOR ~/.localtld.json
+ $ $EDITOR ~/.local-tld.json
{
- "myfancyprojectA": {
- "port": 8000
+ "8000": {
+ "name": "myfancyprojectA"
},
- "thatotherprojectB": {
- "port": 8001
+ "8001": {
+ "name": "thatotherprojectB"
}
}
-Dat it. `/.localtld.json` maps the a subdomain to a TCP port. So if you have a httpd running on `localhost:8000` you can now reach it by going to `http://myfancyprojectA.dev`.
+Dat it. `/.local-tld.json` maps the a subdomain to a TCP port. So if you have a httpd running on `localhost:8000` you can now reach it by going to `http://myfancyprojectA.dev`.
## I want my app to register itself with local-tld!
Please sign in to comment.
Something went wrong with that request. Please try again.