You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

78 lines
1.6 KiB

11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
8 months ago
8 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
  1. # Easy Going Rails
  2. ## Install from scratch Debian 12 (bookworm)
  3. ```bash
  4. sudo apt install -y build-essential ruby-dev libpq-dev libyaml-dev
  5. 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
  6. [[ -f $HOME/.gemrc ]] || echo 'gem: --no-document' >> $HOME/.gemrc
  7. gem install bundler
  8. bundle install
  9. ```
  10. ### database.yml
  11. ```yaml
  12. [...]
  13. development:
  14. <<: *default
  15. database: ruby-debug
  16. user: ruby-debug
  17. password: ruby-debug
  18. host: ct1.lxd
  19. [...]
  20. ```
  21. rails generate scaffold score name:string grade:integer
  22. rails db:migrate
  23. ## TODO
  24. * [x] Popup Notification
  25. * [x] compliant with turbo drive caching
  26. * [ ] customize style
  27. * [x] Customized Turbo
  28. * [x] Progress Bar
  29. * [ ] Confirm Method using HTML modal
  30. * [ ] Production Ready
  31. * [ ] ./bin/prod
  32. * [ ] Syslog
  33. * [x] Pagy
  34. * [ ] Pagination through Turbo Frame
  35. ## Featuring
  36. * [x] VsCodium development improvement
  37. * [x] Ruby-lsp
  38. * [x] Ruby-lsp-rails
  39. * [x] Ruby Db Schema
  40. * [x] Markdown All in One
  41. * [x] TODO Highlighter
  42. * [x] run ` rails notes` to show up any TODO or FIXME
  43. * [x] Debugger friendly
  44. * [x] ask before killing ./bin/dev
  45. * [x] Tailwind CSS
  46. * [x] Rails Live Reload
  47. * [x] compliant with Tailwind build
  48. * [x] ERB Formatter
  49. * [x] Keep 1 blank line
  50. ## MAYBE
  51. * [ ] /bin/setup
  52. * [ ] check debian12
  53. * [ ] git clone from public repository
  54. * [ ] remove .git folder
  55. * [ ] remove /bin/setup
  56. * [ ] ask for main configuration (application_title, alpineJs)
  57. * [ ] ViewComponent
  58. * [ ] https://viewcomponent.org/
  59. * [ ] Postgresql text search
  60. * [ ] Fuzzy search with trigrams