资源说明:Custom application for generating character sheets for Role Playing Game system called Alantar.
bc. @alantar
_____ .__ __
/ _ \ | | _____ _____/ |______ _______
/ /_\ \| | \__ \ / \ __\__ \\_ __ \
/ | \ |__/ __ \| | \ | / __ \| | \/
\____|__ /____(____ /___| /__| (____ /__|
\/ \/ \/ \/
What you see here is a repository of an application that generates characters for custom RPG system called Alantar.
The goal of the application is to facilitate the process of creating a RPG character.
The idea to create such application came from a fact, that when a player takes a new RPG book to his hand, everything may seem to be overwhelming at first glance.
The player might be excited to try and dive into the new fantasy world, however the process of creating a character required to play might be difficult at first and not everyone wants to use example characters prepared by author of the book.
And here comes the online characters generator, for the rescue :)
h2. Demo
Currently the application demo can be found here:
http://tranquil-wave-4492.herokuapp.com/
Please be patient while the application loads for the first time, as it is only one dino spawning on request.
h2. Environment
* ruby <1.9.3-p194> or newer
* rails <4.0.13>
* bundler
* gems are described in Gemfile and also some are packed by bundler into the project.
* PostgreSQL <8.4> or <9.1> or newer
* wkhtmltopdf
h3. Developer Setup
bc. git clone git@github.com:socjopata/char_maker.git ~/projects/alantar_char_maker && cd ~/projects/alantar_char_maker
# if using rvm acknowledge gemset creation
bundle install
h3. Database Setup
bc. cp config/database.yml.example config/database.yml
# customize credentials inside file. Or let perl do that for you :-)
perl -i -p -e 's//$PG_USERNAME/g;' config/database.yml
perl -i -p -e 's//$PG_PASSWORD/g;' config/database.yml
rake db:setup
h3. Test suite
Be sure to setup test database and load seed data first. You can run the suite by issuing:
bc. rspec
h2. License
I release this piece of code under MIT license.
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。
English
