A modular browser based game framework based on Kohana 3 using Jelly.
It is unstable and still developing.
- PHP 5.2+
- Mysql 5.0+
Step 1: Download Modular Gaming!
Using your console, to get it from git execute the following command in the root of your development environment:
$ git clone git://github.com/modulargaming/modulargaming.git
And watch the git magic...
Of course you can always download the code from the github project as an archive.
Step 2: Initial Structure
Next the submodules must be initialized:
$ git submodule init
Now that the submodules are added, update them:
$ git submodule update
That's all there is to it.
Step 3: Configuration of Database
Edit application/config/database.php
with the correct information.
Step 4: Import SQL
Run the installer and it will automatically build the tables. (TODO for now use mg.sql)
Step 5: Configuration of modulargaming
Open application/bootstrap.php
and make the following changes:
- Set the default timezone for your application
Make sure the application/cache
and application/logs
directories are world writable with:
chmod 0777 application/{cache,logs}
Now browse to yourdomain.com
and you should see the Home Page.
You will need to set your user to have the role 'admin'.
You will need to update the .htaccess to refer to the correct location of the folder containing Modular Gaming.