Skip to content

Commit

Permalink
Update README.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Jan 26, 2013
1 parent 89f5dcc commit b217c29
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions README.md
Expand Up @@ -4,13 +4,7 @@ Serve static files backed by Git.


## Installation ## Installation


After running `npm install`, you'll need to fix gitteh by running the following command: After running `npm install`, you'll want to initialize a bare Git repository to hold the static files:

```bash
mv node_modules/gitteh/build/Release node_modules/gitteh/build/default
```

Next, you'll want to initialize a bare Git repository to hold the static files:


```bash ```bash
mkdir repository mkdir repository
Expand All @@ -29,7 +23,7 @@ git push static master
Now you can launch the server! Now you can launch the server!


```bash ```bash
node examples/server --repository repository node node_modules/git-static/examples/server --repository repository
``` ```


Go to <http://localhost:3000/HEAD/path/to/file.html> to view a file from the source repository. You can replace `HEAD` with a specific commit version, or with short names and aliases for commits such as "0ad4156" or "HEAD~1". Go to <http://localhost:3000/HEAD/path/to/file.html> to view a file from the source repository. You can replace `HEAD` with a specific commit version, or with short names and aliases for commits such as "0ad4156" or "HEAD~1".

0 comments on commit b217c29

Please sign in to comment.