/install_laravel

Automated Install Laravel Script for Virtualmin Server

Primary LanguageShell

Laravel-install

Installation script for Laravel for Virtualmin Servers

This script does the following:

1 - Create Virtualmin Sub-Server from project name and domain supplied in file

2 - Download the Laravel master

3 - Install and run composer

4 - Create MYSQL database

5 - Config Laravel database connection

  • generate key
  • setup folder permission

Setup

Download the script to your local machine with this command:

wget --no-check-certificate https://github.com/amityweb/install_laravel/raw/master/install_laravel.sh 

Set file permissions:

chmod 755 install_laravel.sh

Change the domain settings at the top to specifiy which Virtualmin server you user is in

And then run:

sh install_laravel.sh project-name