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.

71 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
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. * [ ] Popup Notification
  25. * [x] Customized Turbo
  26. * [x] Progress Bar
  27. * [ ] Confirm Method using HTML modal
  28. * [ ] Production Ready
  29. * [ ] ./bin/prod
  30. * [ ] Syslog
  31. * [ ] Data Turbo Frame
  32. ## Featuring
  33. * [x] VsCodium development improvement
  34. * [x] Ruby-lsp
  35. * [x] Ruby-lsp-rails
  36. * [x] Ruby Db Schema
  37. * [x] Markdown All in One
  38. * [x] TODO Highlighter
  39. * [x] run ` rails notes` to show up any TODO or FIXME
  40. * [x] Debugger friendly
  41. * [x] ask before killing ./bin/dev
  42. * [x] Tailwind CSS
  43. * [x] Rails Live Reload
  44. * [x] compliant with Tailwind build
  45. * [x] ERB Formatter
  46. * [x] Keep 1 blank line
  47. ## MAYBE
  48. * [ ] /bin/setup
  49. * [ ] check debian12
  50. * [ ] git clone from public repository
  51. * [ ] remove .git folder
  52. * [ ] remove /bin/setup
  53. * [ ] ask for main configuration (application_title, alpineJs)
  54. * [ ] ViewComponent
  55. * [ ] https://viewcomponent.org/
  56. * [ ] Postgresql text search
  57. * [ ] Fuzzy search with trigrams