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.

54 lines
1.1 KiB

11 months ago
11 months ago
11 months ago
11 months ago
10 months ago
10 months ago
11 months ago
  1. # README
  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. ## Gemfile
  24. ```yaml
  25. group :development do
  26. [...]
  27. gem 'rubocop', require: false
  28. end
  29. ```
  30. ## Debugger via ruby-lsp
  31. * run OK, but without Procfile (no more tailwincss/watch)
  32. * attach disfunctions (attach PORT but no interaction/stop/run)
  33. ## Extensions
  34. * [x] Ruby-lsp
  35. * [x] Ruby-lsp-rails
  36. * [x] Ruby Db Schema
  37. * [x] Markdown All in One
  38. * [x] TODO Highliter
  39. * [x] run ` rails notes` to show up any TODO or FIXME
  40. * [x] Tailwind CSS
  41. * [x] plugin for completion
  42. * [x] Rails Live Reload
  43. * [x] compliance with Tailwind
  44. * [x] Custom Progress Bar