Laravel deployer for shared and free hosting! SSH and Composer are not required! Laravel 5.8, 6.x and 7.xHow to deploy Download
In case your application needs the data saved in your local database, you must create seed files. If you don't know it yet, these seed files will automatically populate the online database. This will save us from importing or entering data manually. The tool to use is orangehill/iseed. The documentation is here : https://github.com/orangehill/iseed . Here is an example of a seed file created from a table named "videos":
In case you have already run the php artisan "storage:link" command in your application, the storage link is present in the public folder. Please delete it. Or if for some reason you have put a folder named storage in the public folder, please rename it to avoid collisions during deployment.
The ".env" file of your application should not be sent to your server! Laravel Deployer will create a new one for you. You can edit the new ".env" file online after deployment.
After downloading, unzip it and you will have a "laravel-deployer" folder.
Upload your application folder and the laravel-deployer folder to your server's public folder. Usually it's "public_html" or "www" . Some free hosts use other names. It's up to you to check. You should have like the photo below using your online file manager:
In your shared or free hosting control panel, create a mysql database and a user associated with the database. The information you should have after creating the database is:
Also create an email address for your website. The SMTP information you should remember is as follows:
Open the link www.your-domain.com/laravel-deployer/ in your browser and read How to deploy?