0.0.15 • Published 9 years ago

git-static v0.0.15

Weekly downloads
60
License
-
Repository
-
Last release
9 years ago

Git Static

Serve static files backed by Git.

Installation

After running npm install, you'll want to initialize a bare Git repository to hold the static files:

mkdir repository
cd repository
git init --bare

Then, push from your source Git repository the files you want to serve:

cd ~/Development/other
git remote add static ~/Development/git-static/repository
git push static master

Now you can launch the server!

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".

0.0.15

9 years ago

0.0.14

10 years ago

0.0.13

10 years ago

0.0.12

10 years ago

0.0.11

11 years ago

0.0.10

11 years ago

0.0.9

11 years ago

0.0.8

11 years ago

0.0.7

11 years ago

0.0.6

11 years ago

0.0.5

12 years ago

0.0.4

12 years ago

0.0.3

12 years ago

0.0.2

12 years ago

0.0.1

12 years ago