Project

sc_core

0.0
No commit activity in last 3 years
No release in over 3 years
This gem supports multi-tenancy users RoR skeleton app.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

ScCore

This gem supplys multi-tenancy RoR application skeleton.

Installation

Add sc_core to your application's Gemfile

gem 'sc_core'

Install it as

bundle install

Usage

database.yml設定, DB作成。

bundle exec rake db:create

mount

Add config/routes as

mount ScCore::Engine => "/", as: "sc_core"

各gemのgenerator実行

activerecord-session_sotre

bundle exec rails g active_record:session_migration

Add config/initializers/session_sotre.rb as

Rails.application.config.session_store :active_record_store, key: '_YOUR_APP_session'

haml_rails

bundle exec rails g haml_rails:install

bootstrap-generators

bundle exec rails g bootstrap:install --template-engine=haml --stylesheet-engine=scss

migration

copy migration

bundle exec rake railties:install:migrations

assets

js

Add app/assets/application.js as

//= require sc_core/sc_core

css

Add app/assets/application.scss

*= require sc_core/sc_core

This project rocks and uses MIT-LICENSE.