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.

52 lines
1.1 KiB

10 months ago
11 months ago
11 months ago
11 months ago
11 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. ## Featuring
  24. * [x] VsCodium development improvement
  25. * [x] Ruby-lsp
  26. * [x] Ruby-lsp-rails
  27. * [x] Ruby Db Schema
  28. * [x] Markdown All in One
  29. * [x] TODO Highliter
  30. * [x] run ` rails notes` to show up any TODO or FIXME
  31. * [x] Debugger friendly
  32. * [x] ask before killing ./bin/dev
  33. * [x] Tailwind CSS
  34. * [x] Rails Live Reload
  35. * [x] compliant with Tailwind build
  36. ## TODO
  37. * [x] Customized Turbo
  38. * [x] Progress Bar
  39. * [ ] Confirm Method using HTML modal
  40. * [ ] Production Ready
  41. * [ ] ./bin/prod
  42. * [ ] Log