Skip to content

j3ck/billboard

Repository files navigation

Build Status Code Climate #Billboard


Test task for Twinslash

This branch used Cloudinary for image uploading.

Heroku

Example admin:

email: admin@admin.com
password: 123123123

Example user with seed:

email: user@user.com
password: 123123123

Example user with populate task:

email: example-#{N}@user.com
password: 123123123

where N is the number from 1..30

Setup

git clone git@github.com:j3ck/billboard.git
bundle install
  • configurate config/database.yml
  • configurate config/app_keys.yml
  • download config/cloudinary.yml
  • create database with seed data use
rake db:setup

with full sample populate db

rake db:create
rake db:migrate
rake billboard:populate
  • start whenever tasks
whenever -i
  • start server
rails s