UWFlow / rmc

Flow is a website that lets you plan courses with friends.
https://uwflow.com
MIT License
233 stars 73 forks source link

Fix local server bringup #331

Closed dshynkev closed 5 years ago

dshynkev commented 5 years ago

This contains two changes which, in combination, make dev server bringup error-free.

  1. Building the latest version of Redis from source has been breaking Celery for a while, as noted in #286. Interestingly, not far below the region removed in this PR, redis-server is installed via apt anyway. As Trusty is still supported (if not for long), it seems reasonable to just avoid the manual build entirely. To test that (1) works, dshynkev/uwflow:latest from DockerHub can be used.

  2. For (1) to take effect, the image docker_shell.sh uses has to be rebuilt. If one were to attempt this in the current state, the build would fail: non-version-pinned gems ask for a newer ruby. This is addressed here as well as an auxiliary fix.