mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
web/README: Update documentation.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
This commit is contained in:
parent
cead538426
commit
6caf3a4da0
1 changed files with 15 additions and 10 deletions
25
web/README
25
web/README
|
@ -1,7 +1,7 @@
|
||||||
Setup on Arch Linux:
|
Setup on Arch Linux:
|
||||||
====================
|
====================
|
||||||
1) Install Apache, MySQL, PHP, and git
|
1) Install Apache, MySQL, PHP, and git
|
||||||
# pacman -Sy apache mysql php git
|
# pacman -Sy apache mysql php git
|
||||||
|
|
||||||
2) Set a local 'hostname' of 'aur'
|
2) Set a local 'hostname' of 'aur'
|
||||||
- Edit /etc/hosts and append 'aur' to loopback address
|
- Edit /etc/hosts and append 'aur' to loopback address
|
||||||
|
@ -33,7 +33,7 @@ Setup on Arch Linux:
|
||||||
|
|
||||||
4) Clone the AUR project (using the MYUSER from above)
|
4) Clone the AUR project (using the MYUSER from above)
|
||||||
$ cd
|
$ cd
|
||||||
$ git clone http://projects.archlinux.org/git/aur.git
|
$ git clone git://projects.archlinux.org/aur.git
|
||||||
|
|
||||||
5) Configure PHP
|
5) Configure PHP
|
||||||
Make sure you have mysql and json enabled in PHP.
|
Make sure you have mysql and json enabled in PHP.
|
||||||
|
@ -42,19 +42,23 @@ Setup on Arch Linux:
|
||||||
extension=mysql.so
|
extension=mysql.so
|
||||||
extension=json.so
|
extension=json.so
|
||||||
|
|
||||||
|
If those php extensions are separate packages on your system, install
|
||||||
|
them.
|
||||||
|
|
||||||
AUR requires PEAR and the File_Find module.
|
AUR requires PEAR and the File_Find module.
|
||||||
Installing PEAR will vary depending on the system and may already
|
Installing PEAR will vary depending on the system and may already
|
||||||
be included with PHP. You can also find it in the PHP source distribution.
|
be included with PHP. You can also find it in the PHP source
|
||||||
|
distribution.
|
||||||
|
|
||||||
PHP sources: http://www.php.net/downloads.php
|
PHP sources: http://www.php.net/downloads.php
|
||||||
File_Find PEAR module: http://pear.php.net/package/File_Find
|
File_Find PEAR module: http://pear.php.net/package/File_Find
|
||||||
|
|
||||||
- Install the File_Find PEAR package:
|
- Install the File_Find PEAR package:
|
||||||
# pear install File_Find
|
# pear install File_Find
|
||||||
|
|
||||||
- Put PEAR in your php include_path in web/html/.htaccess:
|
- Put PEAR in your php include_path in php.ini:
|
||||||
|
|
||||||
php_value include_path ".:../lib:../lang:/usr/share/pear"
|
include_path = ".:/usr/share/pear"
|
||||||
|
|
||||||
PEAR's path may vary depending on your set up.
|
PEAR's path may vary depending on your set up.
|
||||||
|
|
||||||
|
@ -107,8 +111,8 @@ Directory Layout:
|
||||||
./template - Where most of the html markup resides and minimal
|
./template - Where most of the html markup resides and minimal
|
||||||
amount of PHP scripting.
|
amount of PHP scripting.
|
||||||
|
|
||||||
There is also a template to model the site's top pages in
|
There is also a template to model the site's top pages
|
||||||
template.phps
|
in template.phps
|
||||||
|
|
||||||
|
|
||||||
Scripts:
|
Scripts:
|
||||||
|
@ -177,5 +181,6 @@ TU - Trusted User
|
||||||
repository and administer AUR.
|
repository and administer AUR.
|
||||||
|
|
||||||
[unsupported]
|
[unsupported]
|
||||||
The collection of package build files hosted via the AUR web site.
|
The collection of package build files hosted via the AUR web
|
||||||
|
site.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue