* main: (24 commits) style: rubocop fix Fix: scrolling to parent navigable list despite of setting Fix join codes skipping user setup Avoid N+1 on account and board settings pages Remove N+1 on the cards board. Preload Event to avoid N+1s on the timeline Remove a bunch of N+1s Make db/seeds.rb rerunnable when I want to add more cards. Fix that board button was leaking to the right of columns Set entropy to 1 year so cards don't close before they can play Improve AGENTS.md with some loki suggestions Prevent Fizzy menu from closing on page refreshes Rename bin/gitleaks to gitleaks-audit Set entropy to 1 year so cards don't close before they can play Improve AGENTS.md with some loki suggestions Prevent Fizzy menu from closing on page refreshes Rename bin/gitleaks to gitleaks-audit Improve AGENTS.md with some loki suggestions Prevent Fizzy menu from closing on page refreshes Rename bin/gitleaks to gitleaks-audit ...
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://fizzy.localhost:3006
Running tests
For fast feedback loops, unit tests can be run with:
bin/rails test
The full continuous integration tests can be run with:
bin/ci
Tests
Outbound Emails
Development
You can view email previews at http://fizzy.localhost:3006/rails/mailers.
You can enable or disable letter_opener to
open sent emails automatically with:
bin/rails dev:email
Under the hood, this will create or remove tmp/email-dev.txt.
Environments
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.
Beta
Beta is primarily intended for testing product features.
Beta tenant is:
This environment uses local disk for Active Storage.
Staging
Staging is primarily intended for testing infrastructure changes.
This environment uses a FlashBlade bucket for blob storage, and shares nothing with Production. We may periodically copy data here from production.
Production
This environment uses a FlashBlade bucket for blob storage.