Ruby on Rails #55 Subdomain Multitenancy with Ernest Addae

24/09/2021 (over 2 years ago)
·

Watch Ernest Addae create and troubleshoot an application with Subdomain Multitenancy (like shop1.domain.com, shop2.domain.com).

At the end we discuss how to make it work in production with Heroku and SSL.

Second episode with some improvements and deployment to Heroku coming soon, so stay tuned!
Ernest Addae on Twitter: https://twitter.com/Earnaddae

2023 update: we never managed to meet up and record a QUALITY part 2 :(

0:00 Warming up
2:29 Start

create accounts:
https://github.com/corsego/55-subdomain-multitenancy/commit/724bdb88aa4d36c1e2c7a3311eeabb3fce9c0c24
seed accounts:
https://github.com/corsego/55-subdomain-multitenancy/commit/74da6ca2ea6a1155cd04846775d4865ff4923dc8
redirect to subdomain:
https://github.com/corsego/55-subdomain-multitenancy/commit/40040db2f06ca957b29c1a775fa64e6047b0fbb1
accounts module:
https://github.com/corsego/55-subdomain-multitenancy/commit/83eac1f04a91c3b1345e70c456118bceba233b86
scaffold posts:
https://github.com/corsego/55-subdomain-multitenancy/commit/1dca224f136e159797e560d3d06b18da72e1a636
account has many posts:
https://github.com/corsego/55-subdomain-multitenancy/commit/d50cf25f7bfbde6a7a6d3db934e7b9a6a64a7c33
Scoping Posts to Accounts module:
https://github.com/corsego/55-subdomain-multitenancy/commit/1827725e15d779644e0d114cf261dbfc2b777538
Constraints:
https://github.com/corsego/55-subdomain-multitenancy/commit/906c766118c954577f9f1079f5cc06e08d14ea41
Better seeds:
https://github.com/corsego/55-subdomain-multitenancy/commit/bec196da6c1c191545c3b38d04ed3f902ba84abd
Readme for LetsEncrypt SSL with Heroku production:
https://github.com/corsego/55-subdomain-multitenancy/commit/10e889eb16db68a87d5ae19ce21b954f6e5083bc


0
Sign in to join the conversation