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.
1.1 KiB
1.1 KiB
Easy Going Rails
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
Featuring
- VsCodium development improvement
- Ruby-lsp
- Ruby-lsp-rails
- Ruby Db Schema
- Markdown All in One
- TODO Highliter
- run
rails notes
to show up any TODO or FIXME
- run
- Debugger friendly
- ask before killing ./bin/dev
- Ruby-lsp
- Tailwind CSS
- Rails Live Reload
- compliant with Tailwind build
TODO
- Customized Turbo
- Progress Bar
- Confirm Method using HTML modal
- Production Ready
- ./bin/prod
- Log