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
92647fec77
|
2 months ago | |
---|---|---|
.vscode | 4 months ago | |
app | 2 months ago | |
bin | 5 months ago | |
config | 2 months ago | |
db | 3 months ago | |
doc | 5 months ago | |
lib | 2 months ago | |
log | 11 months ago | |
public | 11 months ago | |
storage | 11 months ago | |
test | 4 months ago | |
tmp | 11 months ago | |
vendor | 5 months ago | |
.env.sample | 2 months ago | |
.gitignore | 8 months ago | |
.rubocop.yml | 10 months ago | |
.semver_git_tag | 10 months ago | |
Gemfile | 3 months ago | |
Gemfile.lock | 3 months ago | |
Procfile.dev | 3 months ago | |
README.md | 4 months ago | |
Rakefile | 11 months ago | |
TODO.md | 3 months ago | |
config.ru | 8 months ago |
README.md
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
- run
- Debugger friendly
- ask before killing ./bin/dev
- Ruby-lsp
- 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