[openstreetmap/openstreetmap-website] [WIP] Add docker support (#2272)
Fazle Rabbi
notifications at github.com
Tue Jul 23 12:53:20 UTC 2019
I have a question regarding this [line](https://github.com/openstreetmap/openstreetmap-website/blob/master/db/functions/Makefile#L4) of the [`Makefile`](https://github.com/openstreetmap/openstreetmap-website/blob/master/db/functions/Makefile). In this line the `shell bundle show quad_tile` command gets the installation path of `quad_tile` gem. What I am asking is if it is possible to do that without using `bundle`.
The reason for using docker is not only ease of development setup but also isolation of different container like the `web` and `db`. The `db` container's concern is handling the database operation so it can work without a `ruby` or `rails` environment. On the `Makefile` the 4th line makes that job a bit hard as it both needs `ruby` or `rails` environment and the installation of all the gems of `Gemfile` and both of this are unnecessary once the `libpgosm.so` has been complied.
cc: @tomhughes @gravitystorm
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2272#issuecomment-514196648
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190723/0e41d445/attachment.html>
More information about the rails-dev
mailing list