mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Move support/schema/ to schema/
There aren't any other subdirectories in support/. Reduce the nesting depth by moving schema/ to the top-level source directory. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
d0c927c940
commit
b7b586a8c4
4 changed files with 3 additions and 3 deletions
4
INSTALL
4
INSTALL
|
@ -66,12 +66,12 @@ Setup on Arch Linux:
|
||||||
mysql> quit
|
mysql> quit
|
||||||
|
|
||||||
- Load the schema file
|
- Load the schema file
|
||||||
$ mysql -uaur -p AUR < ~/aur/support/schema/aur-schema.sql
|
$ mysql -uaur -p AUR < ~/aur/schema/aur-schema.sql
|
||||||
(give password 'aur' at the prompt)
|
(give password 'aur' at the prompt)
|
||||||
|
|
||||||
- Optionally load some test data for development purposes.
|
- Optionally load some test data for development purposes.
|
||||||
# pacman -S words fortune-mod
|
# pacman -S words fortune-mod
|
||||||
$ cd ~/aur/support/schema/
|
$ cd ~/aur/schema/
|
||||||
$ python gendummydata.py dummy-data.sql
|
$ python gendummydata.py dummy-data.sql
|
||||||
$ bzip2 dummy-data.sql
|
$ bzip2 dummy-data.sql
|
||||||
$ bzcat dummy-data.sql.bz2 | mysql -uaur -p AUR
|
$ bzcat dummy-data.sql.bz2 | mysql -uaur -p AUR
|
||||||
|
|
|
@ -11,7 +11,7 @@ echo "Using database $DB_NAME, user $DB_USER, host $DB_HOST"
|
||||||
|
|
||||||
mydir=$(pwd)
|
mydir=$(pwd)
|
||||||
if [ $(basename $mydir) != "schema" ]; then
|
if [ $(basename $mydir) != "schema" ]; then
|
||||||
echo "you must be in the aur/support/schema directory to run this script"
|
echo "you must be in the aur/schema directory to run this script"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue