/sepia

Primary LanguageRuby

Sepia

Build Status

System dependencies

  • Ruby : 2.0
  • Rails : 4.0.0
  • MySQL : 5.6
  • Redis : 2.6.14

Configuration

config/settings.yml

Please copy the config/settings.yml.sample to config/settings.yml .

social:
  twitter:
    consumer_key: 'xxx'
    consumer_secret: 'xxx'
  facebook:
    consumer_key: 'xxx'
    consumer_secret: 'xxx'
  google:
    consumer_key: 'xxx'
    consumer_secret: 'xxx'

config/database.yml

development:
  adapter: mysql2
  database: sepia_dev
  pool: 5
  username: root
  password: password
  host: localhost
  encoding: utf8

test:
  adapter: sqlite3
  database: db/test.sqlite3
  pool: 5
  timeout: 5000

production:
  adapter: mysql2
  database: sepia
  pool: 5
  username: root
  password: password
  host: localhost
  encoding: utf8

Database creation

$ rake db:migrate

Database initialization

nothing to do

How to run the test suite

$ rspec

How to run the Sepia

Start the redis

$ redis-server

if you want to start with WEBrick

$ bundle exec rails s

Start the sidekiq

$ bundle exec sidekiq