e5cbb88714bf2b493c4485b928ef1b922b459577
- rails console will have the current tenant set to ARTENANT if set, else the default - current tenant can be set via concrete classes, e.g. `User.current_tenant = "foo"`
Fizzy
Setting up for development
First get everything installed and configured with:
bin/setup
If you'd like to load fixtures:
bin/rails db:fixtures:load
And then run the development server:
bin/dev
You'll be able to access the app in development at http://development-tenant.fizzy.localhost:3006
Deploying
Fizzy is deployed with Kamal. You'll need to have the 1Password CLI set up in order to access the secrets that are used when deploying. Provided you have that, it should be as simple as bin/kamal deploy to the correct environment.
For beta:
bin/kamal deploy -d beta
Beta tenant is:
And for production:
bin/kamal deploy -d production
Production tenants are:
Description
Languages
Ruby
67.8%
HTML
14.6%
CSS
10.8%
JavaScript
5.6%
Shell
0.9%
Other
0.3%