Skip to content

craftvm/boilerplate-craft2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CraftOps

DevOps VirtualBox for Craft CMS and AWS(soon!).

Built with Vagrant & Ansible. Made by Mizzen.

Overview

CraftOps is a self-contained, tooled, and local development environment, similar to Homestead, but by project and can build and maintain cloud infrastructure – specifically for Craft CMS.

Technology

  • Ubuntu 16.04.2
  • Nginx 1.10.3
  • MySQL 5.7.
  • PHP 7.0
  • ImageMagick
  • Composer(soon!)
  • Configurable Gulpfile.js & package.json
  • Zsh with ZIM(soon!)
  • CraftOps Command(soon!)

AWS Infrastructure

  • VPC(soon!)
  • EC2(soon!)
  • RDS(soon!)
  • Classic Load Balancer(soon!)
  • Certificate Manager(soon!)

Visit the wiki for more information!

Installation

Prerequisites for Host Machine
Step 1. Clone!
git clone https://github.com/bgrrtt/craftOps.git PROJECT_NAME
Step 2. Change directory into your project and open it with a text editor (like atom).
cd PROJECT_NAME && atom .
Step 3. In the Vagrantfile set:
  • DOMAIN_NAME to a locally unique domain for your project. Defaults to 'project'.
  • LOCAL_IP to a nonconflicting address between 192.168.20.10 and 192.168.255.255.
Step 4. Download Craft CMS, unzip, and move craft/app into PROJECT_NAME/craft.
Step 6. Start your new CraftOps development box:
vagrant up
Step 7. Wait for the installation playbook to run. Hmmm, what to do?
Step 8. Enter the machine:
vagrant ssh

Congratulation! A fresh Craft CMS site is ready to install at http://project.dev/admin! (rather, your DOMAIN_NAME.dev/admin)



Developer’s Note

CraftOps creates an Ubuntu 14.04 VirtualBox on your local machine. After you start the box with Vagrant, an Ansible playbook provisions the new virtual computer into a CraftOps development box. From within the box, commands become available to build, maintain, and deploy to cloud infrastructure.

Thanks to @pixelandtonic, @khalwat, and @geerlingguy for their work and influence.

Thanks to friends and family for wondering where I've been.