diff --git a/README b/README index 6eb4dc0..c13d3fc 100644 --- a/README +++ b/README @@ -20,12 +20,16 @@ To install locally for testing/hacking: # 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 + + # NOTE: You must update the APPDB_ROOT entry to be YOUR url to the application database + If this the APPDB_ROOT isn't correct your urls will point to the wrong pages. -# NOTE: if you've changed the name of the database by changing the define of - 'APPS_DB' in include/config.php you'll have to modify the 'create database' and 'use' - entries in pretty much every file in the /tables/ directory. The recommendation is to - leave the default value of APPS_DB to keep things simple -# cd tables, run ./create_tables to create the database tables + # NOTE: if you've changed the name of the database by changing the define of + 'APPS_DB' in include/config.php you'll have to modify the 'create database' and 'use' + entries in pretty much every file in the /tables/ directory. The recommendation is to + leave the default value of APPS_DB to keep things simple + +# 'cd tables', run './create_tables' to create the database tables # Look in include/config.php at the 'APPS_DBUSER' and 'APPS_DBPASS' defines. Ensure that this user and password exist in your mysql users list and that this user diff --git a/include/config.php.sample b/include/config.php.sample index e34e2a2..c0399ce 100644 --- a/include/config.php.sample +++ b/include/config.php.sample @@ -13,7 +13,7 @@ define("APPDB_THUMBNAIL_WIDTH","128"); // width of the screenshot's thumbnails define("APPDB_THUMBNAIL_HEIGHT","128"); // height of the screenshot's thumbnails define("APPDB_SCREENSHOT_MAXWIDTH","1024"); // width of the screenshot's thumbnails define("APPDB_SCREENSHOT_MAXHEIGHT","768"); // height of the screenshot's thumbnails -define("APPDB_ROOT", "http://appdb.winehq.org/"); // path to AppDB +define("APPDB_ROOT", "http://localhost/appdb/"); // path to AppDB define("APPDB_OWNER","WineHQ"); // with what product/company is this AppDB related ? define("APPDB_OWNER_URL","http://www.winehq.org/"); // website of this product/company define("APPDB_OWNER_EMAIL","appdb@winehq.org"); // e-mail of this product/company