Install October CMS in Vagrant Scotch Box

October CMS

October is an up and coming CMS, with a growing user base "October is a free, open-source, self-hosted CMS platform based on the Laravel PHP Framework. A simple and modular CMS that grows with you, with a precise and beautiful interface that comes as second nature." From: https://octobercms.com/

With these commands you can quickly spin up a fresh Octboer CMS installation in Scotch Box

git clone https://github.com/scotch-io/scotch-box octo-test;
cd octo-test;
vagrant up --debug;
vagrant ssh;

Note: Don't use the NFS option in Vagrantfile, it causes an error.

Download October CMS

mv /var/www/public/index.php /var/www/public/index-OLD.php; # rename original Scotch Box index.php file
wget https://github.com/octobercms/install/archive/master.zip;
unzip master.zip;
cp -R install-master/* /var/www/public/;
rm master.zip && rm install-master -rf;

Create MySQL datatabase

mysql -u root -proot
create database octo;

Install October CMS

Go to http://192.168.33.10/install.php and fill out the fields.

After installation is completed, delete the install folder and file from the command line

rm /var/www/public/install.php /var/www/public/install_files/ -rf

Comments

There is an even easier method that requires composer. If you have Composer installed on your Laravel server, then you can install OctoberCMS using a single ssh composer command. After running the command, the installation will be done automatically. You won't have to download the OctoberCMS package as well.