discourse/bin
Gary Pendergast cb5e0d358d
DEV: Run db:create in Docker dev container (#29295)
When attempting to [set up the Docker development environment](https://meta.discourse.org/t/install-discourse-for-development-using-docker/102009), I was seeing the following error when running `d/boot_dev --init`:

```
ActiveRecord::NoDatabaseError: We could not find your database: discourse_development. Available database configurations can be found in config/database.yml. (ActiveRecord::NoDatabaseError)
```

Running `db:create` before the `db:migrate` fixed this issue for me. It appears to be safe to run `db:create` even if the database already exists, running `d/rake db:create` locally shows an info message at the database already exists, but doesn't exit with an error.
2024-10-24 12:19:42 +02:00
..
docker DEV: Run db:create in Docker dev container (#29295) 2024-10-24 12:19:42 +02:00
annotate DEV: Allow annotations to work in symlinked plugins, add binstub (#13635) 2021-07-05 15:43:10 +01:00
bundle DEV: Enable `unless` cops 2023-02-21 10:30:48 +01:00
dev DEV: Add basic bin/dev script for launching in development (#23254) 2023-08-25 12:07:16 +08:00
ember-cli DEV: Switch to pnpm for JS dependencies (#28671) 2024-09-03 10:51:07 +01:00
notify_file_change FIX: `notify_file_change` was outputting a command to vim 2020-12-10 10:03:57 -05:00
rails DEV: Compatibility with TruffleRuby (#16641) 2022-05-05 09:50:02 +08:00
rake DEV: Add `rake plugins:turbo_spec` task (#18289) 2022-09-20 15:42:54 +01:00
rspec DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
rubocop DEV: Clean up .gitignore (#12981) 2021-05-10 13:43:13 +02:00
system_rspec DEV: Minimal first pass of rails system test setup (#16311) 2022-09-28 11:48:16 +10:00
turbo_rspec DEV: Fix incorrect `github.ref` value in tests workflow (#28902) 2024-09-13 14:24:42 +08:00
unicorn DEV: Don't warn about clearing tmp/cache (#24602) 2023-11-28 18:02:27 +01:00