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.
 
 
 
 
 
pvincent eff87fa922 progressbar delay 1 year ago
.vscode tailwind + rails live reload 1 year ago
app progressbar delay 1 year ago
bin may_kill_dev 1 year ago
config rename to EasyRails 1 year ago
db LSP ok 1 year ago
lib fixme rubocop 1 year ago
log LSP ok 1 year ago
public LSP ok 1 year ago
storage LSP ok 1 year ago
test test_wrapper reformatted 1 year ago
tmp LSP ok 1 year ago
vendor LSP ok 1 year ago
.dockerignore LSP ok 1 year ago
.gitattributes LSP ok 1 year ago
.gitignore LSP ok 1 year ago
.rubocop.yml rubocop pending features 1 year ago
.ruby-version LSP ok 1 year ago
.semver_git_tag tagged as 0.0.13 1 year ago
Dockerfile LSP ok 1 year ago
Gemfile tailwind + rails live reload 1 year ago
Gemfile.lock tailwind + rails live reload 1 year ago
Procfile.dev stick to ipv4 only 1 year ago
README.md progressbar delay 1 year ago
Rakefile LSP ok 1 year ago
config.ru LSP ok 1 year ago

README.md

README

Install from scratch Debian 12 (bookworm)

sudo apt install -y build-essential ruby-dev libpq-dev libyaml-dev
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
[[ -f $HOME/.gemrc ]] || echo 'gem: --no-document' >> $HOME/.gemrc
gem install bundler
bundle install

database.yml

[...]
development:
  <<: *default
  database: ruby-debug
  user: ruby-debug
  password: ruby-debug
  host: ct1.lxd
[...]

rails generate scaffold score name:string grade:integer rails db:migrate

Gemfile

group :development do
  [...]
  gem 'rubocop', require: false
end

Debugger via ruby-lsp

  • run OK, but without Procfile (no more tailwincss/watch)
  • attach disfunctions (attach PORT but no interaction/stop/run)

Extensions

  • Ruby-lsp
    • Ruby-lsp-rails
  • Ruby Db Schema
  • Markdown All in One
  • TODO Highliter
    • run rails notes to show up any TODO or FIXME
  • Tailwind CSS
    • plugin for completion
  • Rails Live Reload
    • compliance with Tailwind
  • Custom Progress Bar