Created
February 18, 2016 15:23
-
-
Save leonelgalan/085db19f4eeeb01c6e75 to your computer and use it in GitHub Desktop.
Setting up Code Climate with Docker/Docker Machine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
: Please update Homebrew often and make sure "Your system is ready to brew." | |
brew update && brew doctor | |
: Install VirtualBox | |
brew tap caskroom/cask | |
brew cask install virtualbox | |
: Install/Setup Docker | |
brew install docker | |
brew install docker-machine | |
docker-machine create --driver virtualbox default | |
eval "$(docker-machine env default)" | |
docker version | |
: Instead of "Cannot connect to the Docker daemon. ...", it should show Server | |
: and it''s properties | |
brew tap codeclimate/formulae | |
brew install codeclimate | |
codeclimate init | |
codeclimate engines:install | |
codeclimate analyze | |
: Make sure you run `eval "$(docker-machine env default)"` every time you need | |
: docker configured, including when you need it to run linter-codeclimate on | |
: Atom, start atom from a terminal in which you've setup docker. | |
eval "$(docker-machine env default)" && atom . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment