rails new app_name -T --skip-sprockets
gem 'rhombus_core', git: 'https://github.com/sumitbirla/rhombus_core'
gem 'rhombus_cms', git: 'https://github.com/sumitbirla/rhombus_cms'
gem 'rhombus_billing', git: 'https://github.com/sumitbirla/rhombus_billing'
gem 'rhombus_store', git: 'https://github.com/sumitbirla/rhombus_store'
gem 'rhombus_marketing', git: 'https://github.com/sumitbirla/rhombus_marketing'
gem 'rhombus_ticketing', git: 'https://github.com/sumitbirla/rhombus_ticketing'
gem 'rhombus_pbx', git: 'https://github.com/sumitbirla/rhombus_pbx'
Add the following to config/application.rb
config.domain_id = 1
config.modules = [:billing, :cms, :pbx, :store, :ticketing, :marketing]
- Create database
- Create a user and give permission to above database
- Modify config/database.yml accordingly
- run
rake db:migrate
- Add the following to db/seeds.rb (add lines corresponding to the gems)
RhombusCore::Engine.load_seed
RhombusCms::Engine.load_seed
RhombusBilling::Engine.load_seed
RhombusMarketing::Engine.load_seed
RhombusTicketing::Engine.load_seed
RhombusPbx::Engine.load_seed
RhombusStore::Engine.load_seed
- Run
rake db:seed
rails s
Open http://localhost:3000/admin
Log in as [email protected] / password