https://github.com/userrails/subdomain
create subdomain sample app
https://github.com/userrails/subdomain
Last synced: 3 months ago
JSON representation
create subdomain sample app
- Host: GitHub
- URL: https://github.com/userrails/subdomain
- Owner: userrails
- Created: 2014-12-11T07:12:50.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-12-11T15:53:35.000Z (over 10 years ago)
- Last Synced: 2025-01-10T12:49:45.651Z (4 months ago)
- Language: Ruby
- Size: 160 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rdoc
Awesome Lists containing this project
README
== README
This README would normally document whatever steps are necessary to get the
application up and running.Things you may want to cover:
* save subdomain and make it unique* url for the domain and subdomain creation and identification
* http://railsapps.github.io/tutorial-rails-subdomains.html
* below about the redirection internally
* http://richonrails.com/articles/basic-subdomains-in-ruby-on-rails
* sudo /etc/init.d/nscd restart
* Important note
* add subdomain_config.rb file to your initializers
* routes configure
* sometime due to session problem some errors occur while redirecting so do as per initializers/session_store.rb
* lib/subdomain.rb and make it call to the routes
* checking url && path issue
* scope login to subdomain
* https://github.com/plataformatec/devise/wiki/How-to:-Scope-login-to-subdomain
Please feel free to use a different markup language if you do not plan to run
rake doc:app.