Permalink
Browse files

Updated Readme to use markdown

General formatting standard
Fixing git commands to use updated git commandline syntax
Appending 2>&1 to git commands to fix STDERR output
  • Loading branch information...
1 parent 26943b3 commit 55e99a9ed0ecc1e78c8069b0e414d9c64c25ddb2 @josegonzalez josegonzalez committed Sep 25, 2009
Showing with 2,244 additions and 2,363 deletions.
  1. +0 −9 BUGS
  2. +0 −47 README
  3. +45 −0 README.markdown
  4. +236 −222 commit.php
  5. +48 −52 config.php
  6. +14 −16 filestuff.php
  7. +1,309 −1,296 git.php
  8. +62 −179 gitstyle.css
  9. +244 −233 html_helpers.php
  10. +242 −260 security.php
  11. +44 −49 statis.php
View
@@ -1,9 +0,0 @@
-#1- FIXED Repos are not shown
-
-It appears that when installing this into my test directory,
-then git.php is not able to take the projects out of another
-directory.
-
-FIX: Added config variable $repo_suffix, where it can be specified
-the non bare repositories addon.
-
View
@@ -1,47 +0,0 @@
-This is only a rough unsorted collection
-of informations. The original git-php
-had no README at all :-(
-
-
-requirements:
-- git
-- enscript
-
-
-To setup git.php:
-
-- edit config.php
-- mkdir $repo_directory/.cache
- with appropiate permissions
-
-Supposed directory structure:
-$repo_directory-\
- |
- +-$cache_name
- |
- +-$secret_name
- |
- +-$bundle_name
- |
- +-project1 / .git
- |
- +-project2 / .git
- |
- ...
-
-
-Code/Variables:
- (just for understanding code; doing cleanup)
-
- $repos = all found $repo_path (security.php)
-
- $proj = name of a Project (=its directories name)
- with no leading or trailing slash !!
-
- $repopath = $repo_directory . $proj . "/"
- is_dir ( $repo_path . "/.git" ) == true
-
-
-URL-parameter:
- p: $proj
- tr: any branch or tag or HEAD in a git-repo.
View
@@ -0,0 +1,45 @@
+# Summary
+This is only a rough unsorted collection of informations. The original git-php had no README at all :-(
+
+### Requirements
+* git
+* enscript
+
+
+### 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```
+
+### Supposed directory structure:
+ $repo_directory-\
+ |
+ +-$cache_name
+ |
+ +-$secret_name
+ |
+ +-$bundle_name
+ |
+ +-project1 / .git
+ |
+ +-project2 / .git
+ |
+ ...
+
+
+### Notes
+#### Code/Variables:
+(just for understanding code; doing cleanup)
+
+```$repos``` = all found $repo_path (security.php)
+
+```$proj``` = name of a Project (=its directories name)
+ with no leading or trailing slash !!
+
+```$repopath``` = $repo_directory . $proj . "/"
+
+```is_dir ( $repo_path . "/.git" ) == true```
+
+#### URL parameters:
+ p: $proj
+ tr: any branch or tag or HEAD in a git-repo.
Oops, something went wrong.

0 comments on commit 55e99a9

Please sign in to comment.