This bash script makes creating a Laravel project on Cloud9 more easier for developers.
- Create a PHP workspace on Cloud9, add the file to the root of your PHP project directory.
- Make the bash script executable by running this command like so: chmod +x create.sh.
- Finally you craft the Laravel project by executing this command: ./create.sh.
After executing the command, the following happens:
- PHP is upgraded to version 7.0
- Laravel is installed and a new Laravel project is created for you.
- /public is added to DocumentRoot /home/ubuntu/workspace/ so it becomes DocumentRoot /home/ubuntu/workspace/public
- MySQL Command (mysql-ctl cli) tool is executed.
This is an edit to the original file on Ohssie's Page