Skip to content

pdai1y/ClanCenter

Repository files navigation

ClanCenter

Build Status Code Climate Coverage Status Inch-CI

ClanCenter is a Rails 4 app written in Ruby. It draws heavy inspiration from the100.io in that you can create gaming sessions. Aside from that you can create a database of games and different game modes on the fly.

Requirements

  • Ruby 2.15

  • Rails 4.2.0

  • Postgres

  • Redis

Documentation

Please see the wiki (coming soon!)


Configuration

###Database

  • Set up your database in config/database.yml

    • Defaults to:

    user: postgres

    password: postgres

  • Run rake db:migrate && rake db:seed

###Assets

  • Run RAILS_ENV=development rake assets:precompile

  • Run rm -rf public/assets

    Assets Issue

    Right now, you have to precompile and remove the compiled assets as they convert from less. I'm looking into a smoother option at getting this corrected.

Redis & Sidekiq

We use Redis and Sidekiq to manage background jobs (mailers, removing stale game sessions).

#####Redis

  • Make sure you have Redis ready to rock and running, if you have no clue about it check here

#####Sidekiq

  • Run bundle exec sidekiq

##Wrap up All in all you should be good to go at this point. View http://localhost:3000 to see what it looks like!


Testing

We use Rspec for testing and Factory_Girl for creating our test structures.

  • Simply run rake spec

About

Clan forums, game sessions, twitch streams, gamer stats oh my!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published