Skip to content

Docker proof-of-concept for easier evaluation purpose#6

Open
mmasquelin wants to merge 2 commits into
INRIA:masterfrom
mmasquelin:dockerize_process
Open

Docker proof-of-concept for easier evaluation purpose#6
mmasquelin wants to merge 2 commits into
INRIA:masterfrom
mmasquelin:dockerize_process

Conversation

@mmasquelin

Copy link
Copy Markdown

Evaluating OSC was a bit painful. These submitted changes (provided Dockerfile and docker-compose.yml files) will allow somebody to spawn a demo OSC instance.

After building the image, you only have to run a few rails command in order to enjoy the app 👍

bundle exec rake assets:precompile
bundle exec rake db:create # should be ok because already done in the docker-compose.yml
bundle exec rake db:schema:load
bundle exec rake db:migrate
bundle exec rake db:seed # only if needed

You also need a properly configured database.yml file in order your rails app to connect to the MySQL database. Please note that the provided setup is not OK for production (adjustments have been done regarding the security level ... ssl is disabled in production with the provided Docker setup) but it could be fixed !! (as I wrote, it's just a proof-of-concept :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant