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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notes for Windows 10 with WSL2 #7

Open
oraix opened this issue Jun 9, 2020 · 0 comments
Open

Notes for Windows 10 with WSL2 #7

oraix opened this issue Jun 9, 2020 · 0 comments

Comments

@oraix
Copy link

oraix commented Jun 9, 2020

With win10 Subsystem Linux 2, we can take the advantage of docker desktop WSL2 based engine to run this plugin.
Here share the steps:

  1. you must activate and install Ubuntu 18.04, follow the link to enable it:
    https://docs.docker.com/docker-for-windows/wsl/
    If you can turn on the option like below screenshot then move to next step.
    image

  2. Login the Ubuntu (make sure it's running in wsl2 mode) as root
    wsl sudo su

  3. Pull codelimate and download all necessary engines.
    https://github.com/codeclimate/codeclimate
    Run below command to download engines (Either cmd window or wsl is ok):
    docker_run codeclimate/codeclimate engines:install

  4. Download, unzip and copy the codeclimate command line wrapper of linux to /usr/local/bin with Ubuntu, see attached file.
    codeclimate.zip

  5. Go back to Idea or pycharm to enjoy code cleaner :)

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

No branches or pull requests

1 participant