From a7216a2fbdb9cc14369cd99955b8579097e291d7 Mon Sep 17 00:00:00 2001 From: Paul J R Date: Fri, 28 Sep 2012 07:16:24 +1000 Subject: [PATCH] rename readme for github --- README | 60 ------------------------------------------------------------ README.md | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+), 60 deletions(-) delete mode 100644 README create mode 100644 README.md diff --git a/README b/README deleted file mode 100644 index 25c8dc8..0000000 --- a/README +++ /dev/null @@ -1,60 +0,0 @@ -GWVP -==== - -ALPHA - -GWVP stands for "git over web via php". It was written for one purpose of -being a quick and simple way of getting a git repo online using only usernames -and passwords rather then having to deal with ssh keys. - -Installation -============ - -Ubuntu -You'll need to add following packages: - -``` -sudo apt-get install php5-sqlite git apache2 php5-cli -``` - -Assuming you clone the repository into /opt/gwvp you will then need to make -some changes to the rewrite, apache and gwvp configuration (assuming /gwvp -for the url also) - -#### Apache config - -This goes in /etc/apache2/conf.d/gwvp.conf -``` -Alias /gwvp /opt/gwvp/www - - - DirectoryIndex index.php - AllowOverride All - -``` - -#### Rewrite - -Edit the file /opt/gwvp/www/.htaccess and change the top line to match your -base url - -``` -RewriteBase /gwvp -... -``` - - -#### GWVP Config - -in /opt/gwvp/www/config.php data directory is (by default) /opt/gwvp/data -This directory must be read/write by the apache user. The following will -give the apache user write access to the file system: - -``` -mkdir -p /opt/gwvp/data -sudo chown www-data:www-data /opt/gwvp/data -``` - -Done - now you should browse to http://yourmachine/gwvp and login as admin -or user with a password of "password". Hopefully the rest is fairly straight -forward and self-explanitory, but there will be a help system coming soon(tm) diff --git a/README.md b/README.md new file mode 100644 index 0000000..25c8dc8 --- /dev/null +++ b/README.md @@ -0,0 +1,60 @@ +GWVP +==== + +ALPHA + +GWVP stands for "git over web via php". It was written for one purpose of +being a quick and simple way of getting a git repo online using only usernames +and passwords rather then having to deal with ssh keys. + +Installation +============ + +Ubuntu +You'll need to add following packages: + +``` +sudo apt-get install php5-sqlite git apache2 php5-cli +``` + +Assuming you clone the repository into /opt/gwvp you will then need to make +some changes to the rewrite, apache and gwvp configuration (assuming /gwvp +for the url also) + +#### Apache config + +This goes in /etc/apache2/conf.d/gwvp.conf +``` +Alias /gwvp /opt/gwvp/www + + + DirectoryIndex index.php + AllowOverride All + +``` + +#### Rewrite + +Edit the file /opt/gwvp/www/.htaccess and change the top line to match your +base url + +``` +RewriteBase /gwvp +... +``` + + +#### GWVP Config + +in /opt/gwvp/www/config.php data directory is (by default) /opt/gwvp/data +This directory must be read/write by the apache user. The following will +give the apache user write access to the file system: + +``` +mkdir -p /opt/gwvp/data +sudo chown www-data:www-data /opt/gwvp/data +``` + +Done - now you should browse to http://yourmachine/gwvp and login as admin +or user with a password of "password". Hopefully the rest is fairly straight +forward and self-explanitory, but there will be a help system coming soon(tm) -- 1.7.0.4