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.

76 lines
1.6 KiB

10 months ago
11 months ago
11 months ago
11 months ago
10 months ago
11 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 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. * [ ] DataSet as Turbo Frame
  34. ## Featuring
  35. * [x] VsCodium development improvement
  36. * [x] Ruby-lsp
  37. * [x] Ruby-lsp-rails
  38. * [x] Ruby Db Schema
  39. * [x] Markdown All in One
  40. * [x] TODO Highlighter
  41. * [x] run ` rails notes` to show up any TODO or FIXME
  42. * [x] Debugger friendly
  43. * [x] ask before killing ./bin/dev
  44. * [x] Tailwind CSS
  45. * [x] Rails Live Reload
  46. * [x] compliant with Tailwind build
  47. * [x] ERB Formatter
  48. * [x] Keep 1 blank line
  49. ## MAYBE
  50. * [ ] /bin/setup
  51. * [ ] check debian12
  52. * [ ] git clone from public repository
  53. * [ ] remove .git folder
  54. * [ ] remove /bin/setup
  55. * [ ] ask for main configuration (application_title, alpineJs)
  56. * [ ] ViewComponent
  57. * [ ] https://viewcomponent.org/
  58. * [ ] Postgresql text search
  59. * [ ] Fuzzy search with trigrams