Skip to content

CraigVella/RegRoll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RegRoll

Edge of The Empire RPG Registered Roll Site The utility located @ http://reztek.net/rr

Used To create registered rolls for Star Wars RPG Games

#Description A GM creates a roll link with optional difficulty die associated.

The GM hands off link to PC

PC adds his dice to the pool and Rolls

Results are stored indefinitely at that Roll link and can not be Re-Rolled

#Creating a Local Working Fork

  1. Install Git client and Clone Repository
  1. Download and Install MySQL
  1. Configure MySQL
  • Open up MySQL Workbench and login to your server with root credentials
  • In Navigator, Under Management Click Data Import
  • On Right Pane, Click Import from Self-Contained Files Radio Button
  • Browse to REPO_DIR under Folder SQL select RR.sql
  • Under 'Default Scheme to be Imported To' Click New and give it the name 'rr'
  • Click Start Import
  • Back on the left hand Pane Under 'Management' Click 'Users and Privlidges'
  • On Right Hand Pane Click 'New Account'
  • For 'Login Name' type 'rr' For 'Limit to Matching Hosts' type 'localhost' For 'Password' type 'rr' Click apply
  • Click 'Schema Privlidges' Tab
  • Click 'Add Entry' Select the 'rr' Schema, Select 'All Privlidges' Press Apply
  • MySQL is now configured
  1. Install Apache
  • Download and install VS 2012 Runtimes from http://www.microsoft.com/en-us/download/details.aspx?id=30679
  • Download Apache VC11 Build from http://www.apachelounge.com/download/VC11/
  • Extract Apache24 Folder to C:\Apache24
  • Download Apache Modules below the Apache Download (It is a package containing extra modules)
  • Extract 'mod_fcgid.so' from mod_fcgid-2.3.9\mod_fcgid Folder into 'C:\Apache24\modules'
  • Open an Elevated Command Prompt (run cmd as Administrator)
  • Navigate to Apache24\bin Directory (CD \Apache24\bin)
  • Run 'httpd -k install' This will install Apache2 as System service
  • Make a shortcut to 'C:\Apache24\bin\ApacheMonitor.exe' in your startup folder for monitoring
  • Open 'C:\Apache24\conf\httpd.conf' in an Editor
  • Uncomment line 'LoadModule rewrite_module modules/mod_rewrite.so'
  • Find 'DocumentRoot' and set path to REPO_DIR
  • Find '<Directory ' and set path to REPO_DIR
  • Under the Tags Find 'AllowOverride None' and change to 'AllowOverride All'
  • Under the Tags Find 'Options Indexes FollowSymLinks' and Change to 'Options Indexes FollowSymLinks ExecCGI'
  • Find 'DirectoryIndex index.html' and Change to 'DirectoryIndex index.php'
  • Open ApacheMonitor in your System Tray (Next to Clock on desktop) and restart Apache Service
  1. Install PHP
  • Download PHP 5.6 from http://windows.php.net/download#php-5.6
  • Extract all contents to C:\php
  • Rename 'C:\php\php.ini-production' to 'C:\php\php.ini'
  • Open 'C:\php\php.ini' uncomment the following
    • extension_dir = "ext"
    • extension=php_mysql.dll
    • extension=php_mysqli.dll
    • extension=php_openssl.dll
    • extension=php_pdo_mysql.dll
  • Open up 'C:\Apache24\conf\httpd.conf' go to end and paste the folowing in:
LoadModule fcgid_module modules/mod_fcgid.so
FcgidInitialEnv PHPRC        "c:/php" 
AddHandler fcgid-script .php  
FcgidWrapper "c:/php/php-cgi.exe" .php  
  1. Install Composer and Requirements
  • Download and run https://getcomposer.org/Composer-Setup.exe
  • During install select PHP directory
  • Make a Directory on the root of C: called Composer
  • Open up the command prompt and navigate to C:\Composer
  • Run 'composer require "twig/twig:~1.0"'
  • Run 'composer require slim/slim:~2.0'
  1. Install NetBeans (or other) IDE
  1. Configure Local Environment
  • In the IDE open up 'config.php'
  • Replace the follwing - Where you see REPO_DIR put your REPO_DIR
const ComposerAutoload = 'C:/composer/vendor/autoload.php';
const HostName = 'localhost';
const WebApplicationDirectory = '/rr/';
const SystemApplicationDirectory = 'REPO_DIR/rr/';

About

Edge of The Empire RPG Registered Roll Site

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published