Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejb2k committed Nov 5, 2023
1 parent 5077026 commit c1c05f1
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,27 @@ I haven't used the Turbo features in the whole project, but only in a few places

Right now, there are only [model specs](https://github.com/maciejb2k/chronlife/tree/main/spec/models) (`406 examples, 0 failures`), but I'm planning to add system specs in the future.

If the GitHub CI passes, it means that there all specs are passing and there are no Rubocop offenses in the codebase.
If the **GitHub CI** passes, it means that there all specs are passing and there are no Rubocop offenses in the codebase.

Note: The test database requires seeding. Also, if you are switching between locales, you need to seed the test database again:

```bash
RAILS_ENV=test bin/rails db:reset
```

## I18n

This application is **I18n-ready**, offering full translation support for both **Polish** and **English** languages.

If you want to change the locale of the application, you can do it by changing the `I18n.locale` value in the `config/initializers/locale.rb` file. Remember to reset and seed the database again after changing the locale, if you want to see the data in the new language.
If you want to change the locale of the application, you can do it by changing the `I18n.locale` value in the `config/initializers/locale.rb` file.

```ruby
# config/initializers/locale.rb

I18n.default_locale = :pl
```

Remember to reset and seed the database again after changing the locale, if you want to see the data in the new language.

## Application overview

Expand Down Expand Up @@ -273,18 +287,18 @@ Below is the current ERD diagram of the application.
- [x] Fix most of the queries performance issues (n+1, etc.)
- [x] Complete the seeder
- [x] Add authorization using Pundit policies
- [x] Add background jobs
- [ ] Add system specs
- [ ] Add caching
- [ ] Add mailers
- [ ] Add background jobs
- [ ] Add notifications

### Less important, but also important
- [x] Add controller translations
- [x] Add models translations
- [x] Refactor controllers
- [x] Add views translations
- [x] Refactor routes
- [ ] Refactor ugly if statements
- [ ] Move from importmaps to `jsbundling-rails`
- [ ] Add RWD

Expand Down

0 comments on commit c1c05f1

Please sign in to comment.