Commit Graph

44 Commits

Author SHA1 Message Date
Jorge Manrubia cc6dcb6c5b Extract mysql setup to function 2025-12-01 12:51:06 +01:00
Jorge Manrubia 12de564176 Remove MySQL from default local development setup
https://3.basecamp.com/2914079/buckets/37331921/chats/9301300227@9334968661
2025-12-01 12:46:37 +01:00
Mike Dalessio bd19b91e05 Make sure the sqlite db is prepared in SAAS mode
Previously, the mysql database was prepared twice and sqlite not at all.
2025-11-29 14:09:55 -05:00
Jorge Manrubia 81656ac260 Run SQLite in saas mode too 2025-11-28 15:53:58 +01:00
Jorge Manrubia f03fbba5ac Restore local CI, sensible setup for open source users 2025-11-28 15:53:58 +01:00
Jorge Manrubia 08cc02804d Invoke setup script in gem 2025-11-28 15:53:58 +01:00
Jorge Manrubia 97c280ddb1 Prepare bin/setup to work with SAAS env variable / txt file 2025-11-28 15:53:58 +01:00
Mike Dalessio 7f46063c25 Introduce gitleaks to the codebase
- `bin/setup` installs gitleaks
- add `gitleaks dir` command to CI
- configure gitleaks to ignore tmp, log, and encrypted files
- tag existing false positives with `gitleaks:allow`
- add historical false positives to the ignore list
2025-11-26 15:46:47 -05:00
Mike Dalessio 362427b383 More changes to get setup and tests to run 2025-11-17 09:11:42 -05:00
Mike Dalessio d41d50d52b Account.sole → Current.account
and some other de-tenant changes, including removing the controller
tenanting concerns
2025-11-17 09:11:40 -05:00
Kevin McConnell 9fa68c0ea9 Add Trilogy adapter 2025-11-17 09:11:28 -05:00
Mike Dalessio 9ca63db91c bin/setup no longer resets when migrations are pending 2025-11-04 07:56:09 -05:00
David Heinemeier Hansson d6deb3ac5f Setup signoff too 2025-11-02 08:22:32 +01:00
Mike Dalessio eb471cc9d2 bin/setup installs libvips 2025-10-29 21:08:45 -04:00
Mike Dalessio 519f719173 Better seeding
- don't ever seed during CI
- cut honcho seed time by 75%
2025-10-23 15:33:34 -07:00
Mike Dalessio 1b5f2b72d7 bin/setup detects when it needs to set up seeds 2025-10-21 13:56:11 -07:00
Mike Dalessio ffc0c86f36 Minio support in development
for when we need to debug direct upload problems
2025-10-14 19:11:50 -04:00
Jeremy Daer 440e96cfe1 bin/setup: drop spinners since they interfere with bash trap and error output 2025-10-10 22:44:44 -07:00
Jeremy Daer 0d4a045e1c bin/setup: enpurple step headings 2025-10-08 22:05:27 -07:00
Jeremy Daer 5c48e47c02 bin/setup: ensure PATH is prepared after a new Ruby is installed 2025-10-08 22:02:57 -07:00
Jeremy Daer 0e82255601 bin/setup: use Bash so we can bootstrap Ruby (#1273)
And chew gum
2025-10-08 21:45:18 -07:00
Mike Dalessio 6a9b98e44f Remove the mysql setup
no longer needed now that we're not connecting to 37id
2025-10-03 21:56:18 -04:00
Mike Dalessio dbc86f257c bin/setup installs system dependencies 2025-10-03 21:53:32 -04:00
Mike Dalessio 8e0cb930af Delete SignalId concerns from the codebase
including Signup for now, will rebuild it with just QB
2025-10-03 14:06:51 -04:00
Mike Dalessio 320558919c Rename LOCAL_AUTHENTICATION to OSS_CONFIG 2025-10-02 16:44:24 -04:00
Mike Dalessio 0a0816aca6 bin/setup runs mise install 2025-09-17 16:03:15 -04:00
Mike Dalessio 2630e4bd74 Extract 37id and QB controllers, models, and tests 2025-09-13 16:03:02 -04:00
Mike Dalessio f4e2fe31b4 dep: add refs to the fizzy-saas git dependencies
so that we can quickly switch the app between using the saas extension
and not. (Bundler will re-fetch the remote if the ref is not present.)

Also set the bundler config to auto-install missing dependencies.
2025-09-13 16:03:02 -04:00
Mike Dalessio 8ad0c65997 Extract saas bin/setup 2025-09-13 15:21:01 -04:00
David Heinemeier Hansson caaa205557 Switch to docker-dev 2025-07-16 15:33:22 -07:00
Kevin McConnell 108ea38759 Start MySQL container in bin/setup 2025-06-24 16:18:19 +01:00
Mike Dalessio a8a64a2384 Link the seeds up to the signal_id fixture data 2025-06-20 15:16:57 -04:00
David Heinemeier Hansson c4fbed3156 Try a slimmer version
And I actually stopped liking that setup automatically starts the
server.
2025-04-22 21:20:55 +02:00
David Heinemeier Hansson 2bfead0381 Convert to conventional Rails style 2025-04-21 15:23:08 +02:00
Jeffrey Hardy 5266b4cbd3 ./bin/dev -> bin/dev 2024-09-20 14:53:02 -04:00
Jeffrey Hardy b3f7b0e256 There are no services to restart 2024-09-13 18:05:45 -04:00
Jeffrey Hardy bbb394db02 Drop puma-dev in favor of localhost 2024-09-06 16:28:51 -04:00
Jeffrey Hardy e0763d4d4b Splat -> Fizzy 2024-08-22 14:53:49 -04:00
Jeffrey Hardy 97b7c6e212 Tidy setup output 2024-08-20 14:17:08 -04:00
Jeffrey Hardy 117d5b1e2e Use bin/setup --reset to recreate the database 2024-08-16 17:06:51 -04:00
Jeffrey Hardy d17326ecd9 Use bash for bin/setup
That the ruby version is mostly shelling out is a hint that a shell language
might be a better choice. It's more direct, slightly faster, it sidesteps
chicken/egg problems when installing ruby, and writing things in bash is fun.

It's good to have an excuse to flex those shell muscles 💪
2024-08-13 13:03:35 -04:00
Kevin McConnell 01647e1d40 Set up in puma-dev 2024-07-02 11:57:15 +01:00
Kevin McConnell b9cf8c5e9d Set up Rubocop 2024-06-21 16:42:48 +01:00
Kevin McConnell 564a0f48ae New Rails app 2024-06-21 13:19:56 +01:00