# Easy Going Rails ## Install from scratch Debian 12 (bookworm) ```bash sudo apt install -y build-essential ruby-dev libpq-dev libyaml-dev 2>/dev/null grep -q GEM_HOME $HOME/.bashrc || printf "export GEM_HOME=$HOME/.ruby\nexport PATH=\$PATH:\$GEM_HOME/bin\n" >> $HOME/.bashrc && source $HOME/.bashrc [[ -f $HOME/.gemrc ]] || echo 'gem: --no-document' >> $HOME/.gemrc gem install bundler bundle install ``` ### database.yml ```yaml [...] development: <<: *default database: ruby-debug user: ruby-debug password: ruby-debug host: ct1.lxd [...] ``` rails generate scaffold score name:string grade:integer rails db:migrate ## TODO * [x] Popup Notification * [x] compliant with turbo drive caching * [ ] customize style * [x] Customized Turbo * [x] Progress Bar * [ ] Confirm Method using HTML modal * [ ] Production Ready * [ ] ./bin/prod * [ ] Syslog * [x] Pagy * [ ] Pagination through Turbo Frame ## Featuring * [x] VsCodium development improvement * [x] Ruby-lsp * [x] Ruby-lsp-rails * [x] Ruby Db Schema * [x] Markdown All in One * [x] TODO Highlighter * [x] run ` rails notes` to show up any TODO or FIXME * [x] Debugger friendly * [x] ask before killing ./bin/dev * [x] Tailwind CSS * [x] Rails Live Reload * [x] compliant with Tailwind build * [x] ERB Formatter * [x] Keep 1 blank line ## MAYBE * [ ] /bin/setup * [ ] check debian12 * [ ] git clone from public repository * [ ] remove .git folder * [ ] remove /bin/setup * [ ] ask for main configuration (application_title, alpineJs) * [ ] ViewComponent * [ ] https://viewcomponent.org/ * [ ] Postgresql text search * [ ] Fuzzy search with trigrams