Skip to content

Sample project for Sarajevo Ruby meetup - 'Developing Multi-tenant Applications with Rails' http://www.meetup.com/ruby/Sarajevo-BA/901742/

Notifications You must be signed in to change notification settings

zpasal/multitenant-issues

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multitenant Issues

This is sample project for simple multi-tenant architecture presented on Sarajevo ‘Ruby Meetup’ www.meetup.com/ruby/Sarajevo-BA/901742/.

How to start

  • Clone repository

  • bundle install

  • rake db:migrate

  • rake db:seed

  • rails s

  • edit /etc/hosts file to add 2 tenants:

127.0.0.1 ius.acme.com 127.0.0.1 zaharije.acme.com

Those tenants are seeded in (db/seed.rb).

Tenants can be accessed via:

  • ius.acme.com:3000

  • zaharije.acme.com:3000

About

Sample project for Sarajevo Ruby meetup - 'Developing Multi-tenant Applications with Rails' http://www.meetup.com/ruby/Sarajevo-BA/901742/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published