summaryrefslogtreecommitdiffstats
path: root/web/README.txt
diff options
context:
space:
mode:
authoreric <eric>2004-06-21 21:36:54 +0200
committereric <eric>2004-06-21 21:36:54 +0200
commit38eda65735e81d2774759a2aa6e9922c7131f830 (patch)
tree9b7f2268ad85d4638a1ee8ff4e2690ba5bb25255 /web/README.txt
parent84e15d0463726fe03b0cdb5a690621330034e737 (diff)
downloadaur-38eda65735e81d2774759a2aa6e9922c7131f830.tar.gz
aur-38eda65735e81d2774759a2aa6e9922c7131f830.tar.xz
working on the accounts stuff
Diffstat (limited to 'web/README.txt')
-rw-r--r--web/README.txt45
1 files changed, 45 insertions, 0 deletions
diff --git a/web/README.txt b/web/README.txt
index dbc3c6d7..938504a3 100644
--- a/web/README.txt
+++ b/web/README.txt
@@ -1,3 +1,48 @@
+Setup on ArchLinux:
+===================
+1) Install Apache, MySQL, PHP, and Subversion
+ # pacman -Sy apache mysql php subversion
+
+2) Set a local 'hostname' of 'aur'
+ - Edit /etc/hosts and append 'aur' to loopback address
+ 127.0.0.1 localhost aur
+
+3) Configure Apache
+ - Edit /etc/httpd/conf/httpd.conf and append the following:
+ Replace MYUSER with your username.
+
+ <VirtualHost aur:80>
+ Servername aur
+ DocumentRoot /home/MYUSER/aur/web/html
+ ErrorLog /var/log/httpd/aur-error.log
+ CustomLog /var/log/httpd/aur-access.log combined
+ <Directory /home/MYUSER/aur/web/html>
+ Options Indexes FollowSymLinks
+ AllowOverride All
+ </Directory>
+ </VirtualHost>
+
+4) Configure PHP
+ - Edit /etc/php.ini and uncomment the mysql extension line:
+ extension=mysql.so
+
+5) Configure MySQL
+ - Connect to the mysql client
+ # mysql -uroot
+
+ - Issue the following commands to the mysql client
+ mysql> create database AUR;
+ mysql> grant all privileges on AUR.* to aur@localhost identified by 'aur';
+ mysql> flush privileges;
+ mysql> quit
+
+6) Check out the AUR project (using the MYUSER from above)
+ $ cd
+ $ svn co https://xentac.net/svn/aur/trunk aur
+
+7) Point your browser to http://aur
+
+
Web Interface:
==============