In this video, we'll show you how to use #Docker Compose with #RubyMine for local development:
Contents:
0:36 - Clone the sample application https://github.com/JetBrains/sample_rails_app
0:58 - Connect to the Docker daemon
1:17 - Interact with Docker using the Services tool window
1:36 - Pull the Postgres image
1:58 - Open docker-compose.yml
2:17 - Examine the Dockerfile
2:32 - Examine the docker-compose.yml file
3:17 - Add debugging gems to the Gemfile
3:32 - Adjust the database config in database.yml
3:48 - Build the application with Compose
4:16 - Get the bash shell in the container
4:38 - Assign the Docker service as a remote Ruby interpreter
5:12 - Examine Ruby Docker integration settings
5:53 - Create the database and run migrations with Rake
6:28 - Run the application
7:27 - Debug the application
8:47 - Connect to a database running in a Docker container
9:56 - Open and edit a database table
For more information, go to: https://jb.gg/q2piqo
Download RubyMine: https://jb.gg/unc73a
All RubyMine videos: https://youtube.com/playlist?list=PLQ176FUIyIUanO72dRf6lOefKIznviKKJ
Join us:
Website: https://jb.gg/gvhuze
Blog: https://jb.gg/c55n2h
Twitter: https://twitter.com/rubymine
#jetbrains #rubymine #dockercompose