This README guides you through setting up the project, including Sentry integration, building the Docker environment, and accessing the application.
- Configure Sentry DSN:
- Update your Sentry DSN in the
app/config/sentry.rb
file to ensure proper error tracking.
- Update your Sentry DSN in the
- Build and Start the Application with Docker:
-
Use the following commands to build and start your Dockerized application:
docker-compose build docker-compose run --rm app bundle install docker-compose run --rm app bundle exec rake db:create docker-compose run --rm app bundle exec rake db:migrate docker-compose up
-
- View the Application:
- Open a web browser and go to
localhost:3000/posts
to view the application.
- Open a web browser and go to
PR: getsentry/sentry-ruby#2278
To ensure this issue is fixed, please replace the relevant line in your Gemfile with the following:
gem 'sentry-rails', git: 'https://github.com/Iwaide/sentry-ruby.git', branch: 'iwaide/fix-activerecord-subscriber'