Skip to content
This repository has been archived by the owner on May 13, 2020. It is now read-only.
/ PuPHPet Public archive

Our custom Vagrant setup based on Habitat.

Notifications You must be signed in to change notification settings

Monkee-Boy/PuPHPet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monkee-Boy MBoy Vagrant GitHub version

Monkee-Boy uses Vagrant for local dev environments. This VM mirrors our Habitat server. Do not update versions on your own. We will update the VM as Habitat is updated. This was created using PuPHPet.

The Details

  • Provider: VirtualBox
  • Distro: Ubuntu Xenial 16.04 LTS x64
  • IP Address: 192.168.22.10
  • Apache: v2.4
  • PHP: v7.0
  • Ruby: v2.2.3 (with RVM)
  • Python: v2.7
  • node.js: v4
  • MySQL: v5.7
  • SQLite: v3.11
  • MailHog: v0.2.1
  • WP CLI: v0.24

Get It

  • git clone git@github.com:Monkee-Boy/PuPHPet.git && cd PuPHPet
  • vagrant up
  • Use vagrant ssh if you need to make any further changes.

Add Domain

  • cd to this git repo.
  • vagrant ssh -c 'sudo vhost -s client-domain.test -a www.client-domain.test -d /var/www/path-to-the-client-site'
    • -s is the server name, -a is the server alias, -d is the document root.
  • Edit your hosts file with 192.168.22.10 client-domain.test.
  • http://client-domain.dev should now work.

Quick Add

  • Edit ./vhostalias.sh with your vagrant id. Get this by running vagrant global-status.
  • Setup alias vagrantvhost="sh ~/Sites/PuPHPet/vhostalias.sh" as an alias. Modify the path to this vagrant repo.
  • Add new domain with vagrantvhost client-domain.dev /var/www/clientname/site. This will automatically include a server alias of www.
  • Feel free to modify the alias to whatever is easier for you.

MySQL Connection

We recommend using SequelPro for easy database management.

  • Type: SSH
  • Host: 192.168.22.10
  • User: root
  • Pass: root
  • SSH Host: 192.168.22.10
  • SSH User: vagrant
  • SSH Password/Key: Select ./puphpet/files/dot/ssh/id_rsa.
    • This key is generated after your initial vagrant up.

The Dev Team

Handcrafted with ♥ in Austin, Texas by the Monkee-Boy Troop.

James Fleeting | Pete Gautier | John Hoover | David Saunders :---:|:---:|:---:|:---:|:---: James Fleeting | Pete Gautier | John Hoover | David Saunders

Monkee-Boy

About

Our custom Vagrant setup based on Habitat.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages