Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mmasquelin
Copy link

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.

None yet

1 participant