GithubHelp home page GithubHelp logo

docker-phpstorm's Introduction

docker-phpstorm

Jetbrains PhpStorm 2017.1 running inside a docker container. This project is derived from fgrehm/docker-netbeans.

Features

  • PhpStorm 2017.1
  • PHP 5.6
  • composer
  • graphviz
  • NodeJS 5

There is a PHP7 based container in the php7 branch.

Running

To launch PhpStorm we need to provide the current display and your X11 socket. You can launch PhpStorm with the following command:

    $ docker run -it --rm \
        -e DISPLAY=$DISPLAY \
        -v /tmp/.X11-unix:/tmp/.X11-unix \
        -v ~/.PhpStorm2017.1:/home/developer/.PhpStorm2017.1 \
        -v ~/Projects:/workspace \
        iainmckay/phpstorm:2017.1-php5

With this your configuration will be persisted to /home/<user>/.PhpStorm2017.1 so that you don't lose it over subsequent runs. It also makes any sourcecode under /home/<user>/Projects available to PhpStorm. Inside the dockerized environment, it will be available through /workspace.

Note: Remember to change the ownership of the config directory on the host as it will be created as root if it does not already exist and PhpStorm won't be able to write to it.

Adding to your launcher

There is a desktop launcher provided in support/launcher. You should place phpstorm.desktop in ~/.local/share/applications and place phpstorm.png in ~/.local/share/icons.

You may need to logout and log back in for it to be detected.

docker-phpstorm's People

Contributors

iainmckay avatar pvaass avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

docker-phpstorm's Issues

Permission denied for update

I can't get the update 9.0.1, this message appear:

PhpStorm does not have write access to /opt/phpstorm. Please run it by a privileged user to update.

PHPStorm GUI is quite slow

Hello @iainmckay

have you found any way how to speed up the PHPStorm GUI? The main menu, inline editing and the autocomplete are quite slow.

SSH tunneling with compression? Any special configuration?

Thanks a lot

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.