Test App on Local Computer/Server

It may be outdated. don't blame if it's not working.

Get Code

$ git clone git://github.com/PerlChina/kindergarden.git
$ cd kindergarden
$ git submodule init
$ git submodule update

Install modules

$ cd bin/install
$ bash install.sh
Notice If Win32,
> cd bin/install
> copy install.sh install.bat
> install.bat

Install Database

$ mysql -uXX -p -e "CREATE DATABASE kindergarden;"
$ mysql -uXX -p kindergarden < sql/db.sql

Fix conf/kindergarden.yml with correct database authentication info.

Apply OAuth client_id/secret

Copy conf/oauth.yml to conf/oauth_local.yml and fulfill the id/secret applied from below:

Run with Plack

$ plackup

to test it locally