This repository has been archived on 2025-05-24. You can view files and clone it, but cannot push or open issues or pull requests.
Files
qemudb/README
Chris Morgan 89e7284f34 Add appdb/tables/create_tables script to run the sql necessary to create and
setup appdb tables.  Add app_category.sql and session_list.sql from Jeremy,
without these the database wasn't handling logins correctly and had no
categories.  README now has some instructions on how to setup a local appdb.
Modified config.php.sample to point to apidb to match what is in the sql in
appdb/tables.  Sql for table creation to use "if exists" to prevent data
base errors on trying to drop tables that don't exist.
2004-03-24 15:51:49 +00:00

19 lines
951 B
Plaintext

WineHQ Application Database
------------------------------------------------------------------------
Authors:
Jeremy Newman <jnewman@codeweavers.com>
Charles Leop <charles@codeweavers.com>
To install locally for testing/hacking:
- Symlink from /var/www to the appdb directory
- Copy include/config.php.sample to include/config.php
- Edit include/config.php as you see fit, the default name of the database
used in the table creation step below is "apidb", you'll have to modify
these files if you change this in config.php
- cd tables, run ./create_tables to create the database tables
- Try to open up localhost/appdb, if you get a directory listing
Edit your /etc/apache/httpd.conf "DirectoryIndex" to include index.php
so apache will open index.php after not finding index.html/index.htm etc
- Check your /etc/php/php.ini to ensure that 'register_globals = On' as the
appdb uses globals and won't work correctly without this