This app demonstrates Rails 7 with Mysql8, import maps, turbo, stimulus and hotwire, all running in Docker.
- Mysql 8
- Rails 7
- Ruby 3
- Dockerfile and Docker Compose configuration
- MYSQL database
- Redis
- GitHub Actions for
- tests
- Rubocop for linting
- Security checks with Brakeman and bundler-audit
- Dependabot for automated updates
sh start.sh
When the app is already running with docker-compose
up, attach to the container:
docker-compose exec web bin/rails c
When no container running yet, start up a new one:
docker-compose run --rm web bin/rails c
docker-compose run --rm web bin/rspec
docker-compose run --rm web bundle update
docker-compose up --build
Thanks!! to ryanwi for the postgres version. The conversion to MYSQL8 was pretty easy!!