docker_ruby-on-rails_template Tailwind Templates

Docker_ruby On Rails_template

This is a template to deploy ruby on rails v7.0.4 with Docker. (available even if it is not Docker) For efficient development regardless of the local environment, docker-compose and Rails Hotwire live reload have been added.(with stimulus js / tailwind css / propshaft)

Version

  • Ruby : v3.2.1
  • Ruby on Rails : v7.0.4
  • Bundler : v2.4.10

Setup

Install dependencies

$ rbenv install 3.2.1
$ rbenv global 3.2.1
$ rbenv rehash
$ ruby -v
ruby 3.2.1
$ bundle install

Development

$ cp .env.example .env
$ bin/docker dev

Docker

# Container build
$ bin/docker build

# Container run
$ bin/docker run

# Container build & run
$ bin/docker start

# Container stop
$ bin/docker stop

Reference

Dockerfile

docker-compose for development

rails hotwire for live reload

Top categories

tailwind logo

Need a Tailwind website built?

Hire a professional TailwindCSS developer today.
Loading Svelte Themes