Victor Aurélio
Victor Aurélio

Reputation: 2555

Setup Laravel 5 Application without command-line access

Is it possible to Setup Laravel 5 Application without command-line access?

It's a common task do these commands with Laravel 5:

composer install
php artisan migrate
php artisan db:seed
gulp
[...]

Consider a non-dedicated server without SSH access, how can I setup the application in that environment?

Upvotes: 2

Views: 3526

Answers (1)

Maytham Fahmi
Maytham Fahmi

Reputation: 33397

Yes it is possible.

Briefly, when you have developed your Laravel on local environment you need to use FTP client/software (Like FileZilla FTP client) to upload the content to your host provider.

Before that you need to ensure some technical details so it can work

  1. Ensure have write permission to folder Storage.
  2. All Laravel folder should be upload, but the domain should point to Public folder.
  3. You need to configure your host MySQL database information in your project.

And it should work, the only challenge left here is to ensure you find host providers that allow make modifications on 1 and 2.

I suggest you to try it before distributing it to your customers and make a step-by-step guideline, as there is risk for unseen scenarios.

enter image description here

In addition to my answer, few links for reading:

Upvotes: 4

Related Questions