whichtaya.blogg.se

Drupal support
Drupal support













Web path on server: URL of your Pantheon Dev environment.

  • Root Path: Click Autodetect, then navigate to the end of the detected path and add /code to the end.
  • Private Key File: Navigate to the location of your id_rsa file.
  • Username: Username from Connection Info.
  • SFTP Host: SFTP Host from Connection Info.
  • For example, anita-drupal-dev.Ĭonfigure the server connection tab in the following order:

    #DRUPAL SUPPORT PLUS#

    Within PhpStorm, go to Build, Execution, Deployment > Deployment.Ĭlick plus for the add server dialog, and choose SFTPĮnter the Pantheon site name followed by a dash and the environment. Put your Dev environment into SFTP mode, and click Connection Info to see the connection settings. 8.0).įrom Preferences > Tools > Command Line Tool Support, click Plus.Ĭhoose Tool > Drush, and specify the path. Select the parent folder for all the project sources and click the Project Root icon, or choose Project Root on the menu.Įnsure that PhpStorm uses Drupal settings by going to Preferences > Languages & Frameworks > PHP.Įnable Drupal integration and select the Drupal installation path.Ĭonfigure the correct version of PHP by going to Preferences > Languages & Frameworks > PHP, and choose PHP Language Level with the appropriate version of PHP (e.g. Open PhpStorm and create a new project from existing files.įrom the Create New Project: Choose Your Scenario, window select Source files are in a local directory, no Web server is yet configured, then click next: Make sure your Dev environment is in Git mode, then clone your Git repository to your local workstation.

    drupal support

    Initial Site SetupĪfter you've created your site on Pantheon, you'll need to set up your local environment. This article covers some best practices and recommendations for building a Drupal site on Pantheon using PhpStorm.

    drupal support

    For detailed information, see Drupal Development Using PhpStorm and Developing on Pantheon with PhpStorm. JetBrains PhpStorm is a commercial PHP IDE that you can configure to work with your Drupal sites.













    Drupal support