mberlanda / cheidelacoriera

This Rails application aims to become a management system for away fans.
GNU General Public License v3.0
2 stars 1 forks source link

Run production app locally #229

Closed mberlanda closed 2 years ago

mberlanda commented 2 years ago

Notes

Although some components are still missing (e.g. smtp server to mock Sendgrid integration), this change set allow to validate changes locally without deploying to another heroku app.

Possible extensions:

  1. Add support for missing dependencies (not critical for web application but preventing worker to succeed jobs)
  2. Add a docker-compose file for development - this would allow to develop on every machine without installing the stack (however webpack dev sever is currently not working as expected)
  3. Add UI integration test suite to automate some operation validation (e.g. create a new user, approve/reject pending users, create an event with different scopes of visibility, approve/reject requests and validate event visibility)

Testing

  1. docker-compose up
  2. http://0.0.0.0:3001
  3. login using credentials created with seeds and approve a pending user (also created by db seeds)