Skip to content

the-trash/TheRole-DummyApp

Repository files navigation

TheRole. Dummy App. Development and testing

Authorization gem for Ruby on Rails
with Management Panel

TheRole. Authorization gem for Ruby on Rails with Administrative interface

Semantic. Flexible. Lightweigh

TheRole: Gem Version API: Gem Version GUI: Gem Version CI: Build Status  ruby-toolbox

How to get?

git clone git@github.com:TheRole/DummyApp.git
cd DummyApp
bundle

Start it!

rake assets:drop # or rake assets:clean
rake db:bootstrap_and_seed

rails s

Test it!

gem install bundler # >= 1.14.6
bundle install

RAILS_ENV=test rake db:bootstrap
RAILS_ENV=test rspec --format documentation

rspec spec/models/ --format documentation

Production mode

RAILS_ENV=production rake assets:build
RAILS_ENV=production rake db:bootstrap_and_seed

rails s -e production

Testing with different envs

rm Gemfile.lock
TEST_ENV=3 bundle install
TEST_ENV=3 RAILS_ENV=test rake db:bootstrap
TEST_ENV=3 RAILS_ENV=test rspec --format documentation
rm Gemfile.lock
rm Gemfile.lock
TEST_ENV=4.0 bundle install
TEST_ENV=4.0 RAILS_ENV=test rake db:bootstrap
TEST_ENV=4.0 RAILS_ENV=test rspec --format documentation
rm Gemfile.lock
rm Gemfile.lock
TEST_ENV=4.1 bundle install
TEST_ENV=4.1 RAILS_ENV=test rake db:bootstrap
TEST_ENV=4.1 RAILS_ENV=test rspec --format documentation
rm Gemfile.lock
rm Gemfile.lock
bundle install
RAILS_ENV=test rake db:bootstrap
RAILS_ENV=test rspec --format documentation
rm Gemfile.lock

About

DummyApp for development and testing of TheRole

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages