Skip to content
This repository has been archived by the owner on Sep 24, 2023. It is now read-only.

Setup a Local Copy

Matt Nadareski edited this page Apr 4, 2016 · 1 revision

Prerequisites

  • The latest source for the Wizard of DATz Redux site
  • A LAMP or WAMP stack of your choice (XAMPP is recommended) which must contain:
    • PHP 7.0 or compatible version
    • MySQL 10.1.8-MariaDB or compatible version
  • Working knowledge of PHP, MySQL, and PHPMyAdmin
  • Working knowledge of INI files
  • (Optional) Git - for syncing with the latest release from source
  • (Optional) PHP IDE of your choice (Eclipse for PHP Developers recommended) - for fixing bugs and submitting them to the code base

Steps

  1. Install and configure the LAMP or WAMP stack you chose on the server or desktop that you will be deploying the website on
    1. Make sure the following extensions are enabled in php.ini:
      • php_ftp.dll
      • php_curl.dll
      • php_fileinfo.dll
      • php_gd2.dll
      • php_gettext.dll
      • php_mbstring.dll
      • php_exif.dll
      • php_mysqli.dll
      • php_openssl.dll
      • php_pdo_sqlite.dll
    2. Configure any virtual directories you need to set up in case you don't want your source directory in the root directory of your setup
  2. Create a database called "wod"
  3. Run init.sql from the scripts folder to set up the tables inside the wod database
  4. Extract the source into the subfolder of your choice (or external directory, if one is mapped in step 1)
  5. Create a file called htpasswd in the root directory of your deployment (e.g. C:\xampp) with the following inside: admin:admin
  6. Visit "localhost/" to start using the site!
Clone this wiki locally