mgoren / docker-rails

test rails app with docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

test docker rails app development with binding.pry

added these two lines to web section of docker-compose.yaml

- stdin_open: true
- tty: true

to be able to access command line in binding.pry: docker attach [container_id]

test this example: localhost:3000/posts (should pop you into a binding.pry)

About

test rails app with docker


Languages

Language:Ruby 77.0%Language:HTML 15.9%Language:JavaScript 3.3%Language:CSS 2.0%Language:Dockerfile 1.2%Language:Shell 0.6%