2025-02-10 22:04:10 +04:00
2024-09-25 21:52:54 +04:00
2024-09-24 17:32:37 +04:00
2024-09-25 21:52:54 +04:00
2024-09-25 11:20:03 +04:00
2024-09-05 13:22:20 +04:00
2024-07-11 16:17:30 +04:00
2024-09-25 17:42:45 +04:00
2024-01-04 20:47:16 +04:00
2024-01-04 20:47:16 +04:00
2024-01-04 20:47:16 +04:00
2024-09-23 21:55:03 +04:00
2024-01-04 20:47:16 +04:00
2024-06-28 16:23:16 +04:00
2024-09-16 08:07:52 +04:00
2024-04-02 20:22:14 +04:00
2025-02-10 22:04:10 +04:00
2024-09-25 21:57:46 +04:00
2024-04-02 20:22:14 +04:00
2024-09-05 13:22:20 +04:00
2024-09-05 13:22:20 +04:00
2024-09-21 10:20:06 +04:00
2024-01-04 20:47:16 +04:00
2025-02-10 15:26:35 +04:00
2024-08-19 12:13:15 +04:00

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

  • miaou, reuse dbs.lxd (or ct1.lxd)

  • echo "DATABASE_HOST=ct1.lxd" >> .env
  • connect to miaou host

  • db-psql create easy-going-rails

RUN

  • rails db:migrate
  • ./bin/dev

TODO

  • Popup Notification

    • compliant with turbo drive caching
    • customize style
  • Customized Turbo

    • Progress Bar
    • Confirm Method using HTML modal
  • Production Ready

    • ./bin/prod
    • Syslog
  • Pagination through Turbo Frame

    • Pagy

Featuring

  • VsCodium development improvement
    • Ruby-lsp
      • Ruby-lsp-rails
    • Ruby Db Schema
    • Markdown All in One
    • TODO Highlighter
      • run rails notes to show up any TODO or FIXME
    • Debugger friendly
      • ask before killing ./bin/dev
  • Tailwind CSS
  • Rails Live Reload
    • compliant with Tailwind build
  • ERB Formatter
    • Keep 1 blank line

MAYBE

  • /bin/setup

    • check debian12
    • git clone from public repository
    • remove .git folder
      • remove /bin/setup
    • ask for main configuration (application_title, alpineJs)
  • Postgresql text search

    • Fuzzy search with trigrams

aaa

S
Description
No description provided
Readme
1.8 MiB
Languages
Ruby 76.5%
HTML 14.2%
JavaScript 4.4%
CSS 2.6%
Shell 2.3%