New version of ekylibre with latest stack (Rails 7.1, Ruby 3.2, Postgresql 16) under Docker
cp .env.example .env
docker compose build
docker compose run --rm web bin/rails db:setup
docker compose up
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/rake db:migrate
docker compose run --rm web bin/rspec
docker compose run --rm web bundle update
docker compose up --build