All Projects → jalendport → craftbox

jalendport / craftbox

Licence: Apache-2.0 license
Simple Ubuntu Vagrant box targeted for Craft developers -

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to craftbox

craft3-collections
Clean up those complex templates with Laravel Collections
Stars: ✭ 24 (-14.29%)
Mutual labels:  craft, craftcms
oembed
A simple plugin to extract media information from websites, like youtube videos, twitter statuses or blog articles.
Stars: ✭ 34 (+21.43%)
Mutual labels:  craft, craftcms
drupalci-sonar-jenkins
DEPRECATED - Drupal CI environment with SonarQube and Jenkins for Drupal Core code analysis.
Stars: ✭ 40 (+42.86%)
Mutual labels:  vagrant, vm
Vagrant Docker Vm
💻 Development Vagrant VM with Docker, Samba and Mail sandbox (customizable)
Stars: ✭ 97 (+246.43%)
Mutual labels:  vagrant, vm
webmention
Webmention Plugin for Craft CMS
Stars: ✭ 38 (+35.71%)
Mutual labels:  craft, craftcms
Drupal Vm
A VM for Drupal development
Stars: ✭ 1,348 (+4714.29%)
Mutual labels:  vagrant, vm
cikit
Continuous Integration Kit (CIKit)
Stars: ✭ 21 (-25%)
Mutual labels:  vagrant, vm
Cgpwn
A lightweight VM for hardware hacking, RE (fuzzing, symEx, exploiting etc) and wargaming tasks
Stars: ✭ 345 (+1132.14%)
Mutual labels:  vagrant, vm
magento2-ansible-vagrant
Ⓜ️2️⃣ Ansible provisioned Ubuntu 16.04 vagrant box for Magento2 development.
Stars: ✭ 25 (-10.71%)
Mutual labels:  vagrant, vm
craft-audit
Audit log for Craft 3
Stars: ✭ 18 (-35.71%)
Mutual labels:  craft, craftcms
Beetbox
Pre-provisioned L*MP stack
Stars: ✭ 94 (+235.71%)
Mutual labels:  vagrant, vm
arch-ansible
An Ansible playbook to install Arch Linux
Stars: ✭ 33 (+17.86%)
Mutual labels:  vagrant, vm
Packer Centos 6
This build has been moved - see README.md
Stars: ✭ 78 (+178.57%)
Mutual labels:  vagrant, vm
Box
[DEPRECATED] Official, pre-packaged Vagrant Box
Stars: ✭ 197 (+603.57%)
Mutual labels:  vagrant, vm
Deep Learning Vm
Sets up a VM with Keras, TensorFlow, TFLearn and Theano installed
Stars: ✭ 23 (-17.86%)
Mutual labels:  vagrant, vm
smartdown.craft-plugin
Bringing the unbridled joy of Markdown Extra and Smartypants to your Craft websites.
Stars: ✭ 26 (-7.14%)
Mutual labels:  craft, craftcms
dairybox
Local development VM and tools for Jammer Core
Stars: ✭ 32 (+14.29%)
Mutual labels:  vagrant, vagrant-boxes
packer.templates
Various packer templates for building basic virtual machine images.
Stars: ✭ 44 (+57.14%)
Mutual labels:  vagrant, vm
craft-twig
Craft CMS Package for Atom
Stars: ✭ 17 (-39.29%)
Mutual labels:  craft, craftcms
acquia-cloud-vm
VirtualBox/Vagrant-based VM to closely match Acquia Cloud environment.
Stars: ✭ 20 (-28.57%)
Mutual labels:  vagrant, vm

Craftbox

A Vagrant "Craft Box" for Craft CMS

Craftbox is a simple Vagrant box running Ubuntu 14.04 and targeted for Craft development. Craftbox is intended for Craft developers (like me) that would love to have a simple Vagrant box that installs Craft and all their favorite development tools.

Do you use Wordpress? Check out Workpress, my Vagrant box for Wordpress development.

Installation

  1. Install VirtualBox - https://www.virtualbox.org/
  2. Install Vagrant - http://www.vagrantup.com/
    • Verify Vagrant is installed by running vagrant -v in your terminal.
  3. Download Craftbox (choose one of the following ways):
  4. Navigate to the folder you just downloaded and run vagrant up in your terminal. Please be patient; it always take a little time to download and boot up the VM the first time.
  5. Visit http://192.168.33.10 in your browser and you should see your Craft site.
  6. That's it! Were you expecting more?

Usage

Basic Vagrant Commands

Start or resume your server - vagrant up

Pause your server - vagrant suspend

Turn off your server - vagrant halt

SSH into your server - vagrant ssh

Provisioning

I am currently using Ansible to provision the box. You can find all the provisioning files in the provisioning folder. Vagrant uses the Vagrantfile to run a shell script on the VM that installs Ansible and starts the Ansible playbook. That way you don't have to install Ansible on your host machine.

Changing the IP

Craftbox is setup to use the IP address of 192.168.33.10. If this IP is conflicting with something on your network, you may change it in the Vagrantfile to the IP address of your choosing and then run vagrant reload in your terminal.

Development URL

So who would want to visit http://192.168.33.10 when instead they could just browse to http://craftbox.dev?

  1. $ vagrant plugin install vagrant-hostsupdater
  2. $ sudo visudo
  3. Add the following to the end of the file:
# Allow passwordless startup of Vagrant with vagrant-hostsupdater.
Cmnd_Alias VAGRANT_HOSTS_ADD = /bin/sh -c echo "*" >> /etc/hosts
Cmnd_Alias VAGRANT_HOSTS_REMOVE = /usr/bin/sed -i -e /*/ d /etc/hosts
%admin ALL=(root) NOPASSWD: VAGRANT_HOSTS_ADD, VAGRANT_HOSTS_REMOVE
  1. Visit http://craftbox.dev
  2. You can configure this url in the Vagrantfile.
  3. That's it! Were you expecting more?

A big thanks to the wonderful Vagrant::Hostsupdater plugin.

What's Installed

View the full list of packages.
Is there something that you think ought to be included here? Open an issue and let me know!

Credentials

SSH Users
Username Password
vagrant vagrant
MYSQL Details
Property Value
database name craftbox
database user craftbox_user
database password craftbox_pass
database host localhost

Additional Links

Contributing

I know Craftbox definitely could use some help and I'm sure it probably has its share of bugs too... So I'd love for anyone to help assist me develop this box further. Just open an issue and let me know what it is; be it a bug, tip, feature idea, question, or anything! Or if you are feeling code-savvy, fork my repo, make your changes, and create a pull-request.

Change Log

Current Version : 1.1.0 - Updated to PHP7

View the full changelog.

Roadmap

Nothing currently...

License

© 2016 Jalen Davenport

Apache 2.0; view license

Thanks

I'd like to give my thanks to Jake Dohm for giving me the idea to build a Vagrant box for Craft based on Workpress.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].