Skip to content
Browse files

updating readme

moving directories to temp folder
updating config to point to git-php folder as the $repo_directory
  • Loading branch information...
1 parent 55e99a9 commit 6f19e5917fa9cfce123a9247255cf5e0a0fc4397 @josegonzalez josegonzalez committed Sep 25, 2009
Showing with 14 additions and 12 deletions.
  1. 0 .temp/bundles/empty
  2. 0 .temp/cache/empty
  3. 0 .temp/secrets/empty
  4. +10 −8 README.markdown
  5. +4 −4 config.php
View
0 .temp/bundles/empty
No changes.
View
0 .temp/cache/empty
No changes.
View
0 .temp/secrets/empty
No changes.
View
18 README.markdown
@@ -1,24 +1,26 @@
-# Summary
-This is only a rough unsorted collection of informations. The original git-php had no README at all :-(
+# Git-PHP
-### Requirements
+## Summary
+Git-PHP is a port of gitweb to PHP. It includes various functionality, such as submitting diffs, repository browsing, simple search, and diff highlighting. It is based upon Zack Bartel and Peeter Vois's original work, with updates to handle the latest git installs (1.6.4.4 as September 25, 2009), as well an update to the stylesheet to make it feel more like github.com. It definitely still needs tender love and care to make it more MVC like, but it'll get there. Please read the commit messages for more information on changes implemented.
+
+## Requirements
* git
* enscript
-### Installation
+## Installation
1. edit config.php
2. In a terminal window, change directories to your $repo_directory and execute the following:
- * ```mkdir .cache .bundles .secrets ; chmod -R 777 .cache .bundles .secrets```
+ * ```mkdir .temp/cache .temp/bundles .temp/secrets ; chmod -R 777 .cache .bundles .secrets```
### Supposed directory structure:
$repo_directory-\
|
- +-$cache_name
+ +-./temp/$cache_name
|
- +-$secret_name
+ +-./temp/$secret_name
|
- +-$bundle_name
+ +-./temp/$bundle_name
|
+-project1 / .git
|
View
8 config.php
@@ -23,7 +23,7 @@
$repo_index = "index.aux";
/* The directory where repo directories resist */
- $repo_directory = "/var/git/repositories/";
+ $repo_directory = dirname(__FILE__) . "/";
/* The suffix, that can be used for complementing the repo directory,
* useful when you are using nonbare repositories, then:
@@ -34,9 +34,9 @@
/* The date format to show the dates of commits */
$git_date_format = 'd.m.Y (H:i)';
- $cache_name = ".cache/";
- $secret_name = ".secrets/";
- $bundle_name = ".bundles/";
+ $cache_name = "./temp/cache/";
+ $secret_name = "./temp/secrets/";
+ $bundle_name = "./temp/bundles/";
$cache_directory = "{$repo_directory}{$cache_name}";
$repo_http_relpath = "/git-php/";

0 comments on commit 6f19e59

Please sign in to comment.
Something went wrong with that request. Please try again.