This README would normally document whatever steps are necessary to get the application up and running.
Things you may want to cover:
-
Ruby version
3.1.2
-
System dependencies
-
Configuration
-
Database creation
cp template/database.yml config/database.yml
rails db:create
-
Database initialization
bundle exec ridgepole -c config/database.yml -E development -f db/schemas/Schemafile --apply
or
rails ridgepole:apply
-
credentials
memo: add credentials key
bundle exec rails credentials:edit RAILS_ENV=env
-
deployment
bundle exec cap production deploy
-
How to run the test suite
sorry, I don't write tests :(
-
Services (job queues, cache servers, search engines, etc.)
-
Development
- Clone it
- remove
secrets: - host_ssh_key
in docker-compose.yml (this key is for deployment) docker compose build
anddocker compose up -d
-
Translation
I'm translating it little by little, but it is not finished. sorry :(
Delete the Japanese part of the
app/views
and add the translated text inconfig/locales
according to Rails i18nReloading will regenerate
translation.js
so the same locales can be used in JS files (perhaps you should reboot instance)I have prepared an i18n configuration for
views/user_songs/index.html.haml
as a reference (please add other languages setting) -
Contributing
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Added some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request