Skip to content

Latest commit

 

History

History
54 lines (29 loc) · 1.68 KB

RunCommandsConfig.md

File metadata and controls

54 lines (29 loc) · 1.68 KB

Run commands using Terminal and docker

  1. Open the project in terminal

Project Properties -> Open in Terminal

image

  1. Select SSH connection

    image

Configure your SSH connection

  1. Go back to Project Properties -> Frameworks -> Laravel

image

-> Select Remote terminal from the list

image

  1. Configure your docker settings

-> check the Use docker -> write your php docker image ex: "php-docker-php-1" -> add remote bash type ex: "sh" -> include pre commands. Ex: sometimes the php app is not in the root folder of the docker image. So you will need to add a cd /var/www/my-app && script before.

image

  1. Go to run commands

    -> right click on Project Properties -> Laravel -> Run command

    image

  2. Click on Refresh commands

    image


Now if you select a command it should execute by clicking on the Run button

image

The output terminal color can be edited on Netbeans -> Options -> Miscellaneous -> Terminal tab

image