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 http://development.modulargaming.com
Step 2: Initial Structure
Next the submodules must be initialized:
cd modulargaming (or whatever you named it)
$ 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
Import mg.sql using your tool of choice (Mysql client, phpmyadmin etc).
Step 5: Configuration of modulargaming
Open application/bootstrap.php
and make the following changes:
-
Set the default timezone for your application
-
You may need to set the base_url manually if auto detection does not work.
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.