How To Create a BOARD18 WEB Site

From BOARD18 Project WIKI
Revision as of 14:50, 1 September 2013 by Rich (talk | contribs) (Updated to current practice)
Jump to navigation Jump to search

How to create a BOARD18 web site using Linux

These instructions assume that you already have shell access to a server environment that is running Apache with PHP version 5.3 or later and MySQL version 5.5 or later.

Perform these steps on your local Linux PC

  • Browse to the BOARD18 project page.
  • Extract board18/board18 repository for the current board18 release from Gitorious to your PC.
  • Extract board18/gamebox repository for the current gamebox release from Gitorious to your PC.
  • Edit the board18/php/config.php file.
    1. Change DB_HOST only if your DB server is different from your web server.
    2. Change DB_DATABASE to the name you will give to your BOARD18 database.
    3. You can also change the database user ID and password if you want.
    4. Save the edit session.
    5. Make note of the above values for use when creating the database.
  • Start command line.
  • cd to BOARD18 directory.
  • Enter on command line:
 
rm ~/board18.zip
rm ~/utility.zip
zip ~/board18.zip *.html *.php 
zip -r ~/board18.zip php scripts style
zip ~/board18.zip images/*.*
cd php
zip ~/utility.zip config.php
cd ../utility
zip ~/utility.zip *.*
  • cd to GAMEBOX directory.
  • Enter on command line:
cd boxes
zip -r ~/board18.zip images
zip -r ~/utility.zip control
  • Using FTP, move the 2 zip files to your web server.

Perform these steps on your Linux web server

  • Create a new Apache web site for BOARD18. Explaining this step is beyond the scope of this how to.
  • Extract board18.zip into your web root directory.
  • Create a utility directory in your user directory (~).
  • Extract utility.zip into this new directory.

Create the BOARD18 DataBase

The BOARD18 database must be created and loaded with game boxes before this web sit can be used.
See the How To Create a BOARD18 Database page for advice on performing this function.

How to create a BOARD18 web site using Windows

If you have a Windows environment please modify the above Linux instructions, test them and then enter them here.

How to create a BOARD18 web site using a MAC

If you have a MAC environment please modify the above Linux instructions, test them and then enter them here.