Remove MySQL from default local development setup
https://3.basecamp.com/2914079/buckets/37331921/chats/9301300227@9334968661
This commit is contained in:
@@ -35,14 +35,15 @@ The full continuous integration tests can be run with:
|
||||
|
||||
### Database configuration
|
||||
|
||||
Fizzy supports SQLite (default, recommended for most scenarios) and MySQL. You can switch adapters with the `DATABASE_ADAPTER` environment variable.
|
||||
Fizzy works on SQLite by default and supports MySQL too. You can switch adapters with the `DATABASE_ADAPTER` environment variable. For example, to develop locally against MySQL:
|
||||
|
||||
```sh
|
||||
DATABASE_ADAPTER=mysql bin/rails
|
||||
DATABASE_ADAPTER=mysql bin/test
|
||||
bin/ci # Runs tests against both SQLite and MySQL
|
||||
DATABASE_ADAPTER=mysql bin/setup --reset
|
||||
DATABASE_ADAPTER=mysql bin/ci
|
||||
```
|
||||
|
||||
The remote CI pipeline will run tests against both SQLite and MySQL.
|
||||
|
||||
### Outbound Emails
|
||||
|
||||
You can view email previews at http://fizzy.localhost:3006/rails/mailers.
|
||||
|
||||
Reference in New Issue
Block a user