emu23 / Alcarin

web based, mmorpg written in zend framework 2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installation

Alcarin is a complex, browser mmorpg game based on ZF2 technology. Inspiration for creating it was Cantr, old, similar game where characters live in more real environment.

You can find full docs here: http://alcarin.readthedocs.org/.

Installation

Using Composer

The recommended way to get a working copy of this project is to clone the repository and use composer to install dependencies:

cd my/project/dir
git clone git://github.com/psychowico/Alcarin.git
cd Alcarin
php composer.phar self-update
php composer.phar install

(The self-update directive is to ensure you have an up-to-date composer.phar available.)

In second step you should copy all "dist" configuration files to you local and reconfigure their if needed. Fastest way on linux is:

for i in config/autoload/*.dist; do cp "$i" "${i/.dist/}"; done

Finally, if you are on UNIX system, you will probably need give change owner for you data/cache directory, for this same like you php server use. On apache this will probably work:

sudo chown www-data data/cache

Persistent system

Alcarin use MongoDB as his persistent system. You should install mongo server. If you need any configuration you should looking in config/autoload/local.php file, under the key 'mongo'.

Virtual Host

Afterwards, set up a virtual host to point to the public/ directory of the project and you should be ready to go!

Administration

You will probably need user with all privilages to work easy and fast. You can create one by using console script, in project main directory:

bin/createsu alcarin@test.com test321

First argument will be super user email address, second - password. You can use any email and password you want.

At last you should run script which will initalize mongo db instance (indexes and similar).

bin/init\ db alcarin@test.com test321

On linux you will probably need run above commands as system administrator.

About

web based, mmorpg written in zend framework 2


Languages

Language:JavaScript 75.6%Language:PHP 16.6%Language:CoffeeScript 6.9%Language:Python 0.9%Language:Ruby 0.1%Language:Perl 0.0%