nadniesol's avatar

Git bash on your domain.

Hi, I am new to laravel, how can I get into my domain git bash, and execute a command their like, Composer require maatwebsite/Excel

0 likes
10 replies
Snapey's avatar

How did you install Laravel if you don't know how to use the command line?

nadniesol's avatar

Sorry, the person who built it is no longer supporting it. And I am editing that only via sftp.

ronmaxweb's avatar

You will need to login to your server via ssh and change directory to the project folder using the cd command. From there you will be able to run any command you need to.

1 like
nadniesol's avatar

@ron-maxweb where should I login? I mean how to login in my Git Bash

ronmaxweb's avatar

You can use the ssh command from within git bash. Your server login details will likely be included in an email sent by your server host when you set up your account. If you are unsure what these are, you can contact your host, and they should be able to retrieve them or change them for you.

1 like
nadniesol's avatar

@ronmaxweb I have the server login details, the thing i just dont know is how to use it on git bash. Thanks for helping me, I appreciate it

ronmaxweb's avatar
Level 1

@nadniesol if you run the following command, it will initiate an ssh session with your server.

ssh server-ip

Just make sure you replace server-ip with your server's actual IP address (i.e. 123.456.789.100)

1 like

Please or to participate in this conversation.