Mate38 / cloud9-install-laravel-5.5

Install script that setups Laravel 5.5 and PHP 7.1 on a fresh Cloud9 Workspace.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cloud9 Laravel 5.5 Installer

DO NOT USE THIS IN A PRODUCTION ENVIROMENT - YOU HAVE BEEN WARNED

This installer setups laravel 5.5, MySQL 5.7 and php7.1 onto a fresh Cloud9 (c9.io) workspace. Just run the script, do some input, and bam your ready to start programming. Also gets npm and nodejs ready so you can webmix.

Features

  • Installs PHP 7.1
  • Removed Default C9 Files
  • Puts laravel in root workspace folder
  • Changes DocumentRoot to /public
  • Upgrades MySQL 5.7

How To Use

Step 1

Create a new workspace in Cloud9

Step 2

Open created Workspace then go to terminal

Step 3

Get the install-laravel.sh

wget "https://raw.githubusercontent.com/pkeogan/cloud9-install-laravel-5.5/master/install-laravel.sh"

Step 4

Run The Install

bash install-laravel.sh

Step 5

Run the MySQL Upgrade, make sure you select 5.7, default will be 5.6

sudo dpkg -i mysql-apt-config_0.8.7-1_all.deb

Step 6

Run The MySQL Install SH

wget "https://raw.githubusercontent.com/pkeogan/cloud9-install-laravel-5.5/master/mysql.sh"
bash mysql.sh

If you get any input for passwords, enter blank, and you may need to hit "y" for downloads.

Step 7

Edit your .env DB info.

...
DB_DATABASE=laravel
DB_USERNAME=root
DB_PASSWORD=
...

Step 8, your ready!

MAke sure you migrate and run your npm mix

php artisan migrate
npm run dev

And thats it, your ready to go!

This Script's PHP Install was forked from @svpernova09's https://github.com/svpernova09/cloud9-php71

About

Install script that setups Laravel 5.5 and PHP 7.1 on a fresh Cloud9 Workspace.

License:MIT License


Languages

Language:Shell 100.0%