jonrh / lambda-lovelace

🎓 MSc project, recommender system for tweets
https://jonrh.github.io/lambda-lovelace/
ISC License
4 stars 0 forks source link

Figure out Python development/debugging with Docker #73

Closed jonrh closed 8 years ago

jonrh commented 8 years ago

Figure out how we can develop and debug Python code in PyCharm while using Docker. I thought it was straight forward but PyCharm seems to be dependent on docker-machine, the old way of developing. For the longest time to run Docker on OSX and Windows you had to use VirtualBox or something similar. However with the Docker v1.12 release candidates Docker can be run natively on OSX and Windows. So the task is to debug Python code through that native way as well.

Some links:

Added my vote to YouTrack to add native support for Docker v1.12: https://youtrack.jetbrains.com/issue/PY-19178#u=1460992745625

jonrh commented 8 years ago

I'm going to close this for now, but it's unresolved. There is a known workaround using socat but it's a very hacky workaround. I think we'll just have to develop on our local machines and rely on tests executed in the container on pushes to reveal any "works on my machine" issues. Totally not ideal but considering the circumstances and time left of the project I don't think the workaround is worth it.