GithubHelp home page GithubHelp logo

denverprophitjr / vagrant-wordpress Goto Github PK

View Code? Open in Web Editor NEW

This project forked from axocomm/vagrant-wordpress

1.0 2.0 0.0 109 KB

Simple Vagrant setup for WordPress

Puppet 65.42% Nginx 3.92% HTML 14.32% Shell 16.34%
vagrant-virtual-machine virtualbox wordpress-development

vagrant-wordpress's Introduction

vagrant-wordpress

A refresh of vagrant-wordpress-lemp, which aims to provide quick temporary WordPress development environments.

Overview

What is Included

  • Ubuntu 17.04
  • Nginx
  • PHP 7.0
  • MariaDB 10.0
  • phpMyAdmin
  • WP-CLI

Required Vagrant Plugins

  • vagrant plugin install vagrant-vbguest
  • vagrant plugin install vagrant-hostsupdater

Configuration

Configuration is mostly done inside the Vagrantfile. Key items are as follows:

  • config.vm.hostname - the hostname of the VM. With the Vagrant Hostsupdater plugin, it will be accessible at http://<hostname>.dev/ when setup is complete.
  • config.vm.network - a static IP address for the VM
  • config.vm.provider block - contains modifications for the VM (right now just the RAM but this can be updated to suit your needs)
  • config.vm.provision block and puppet.facter hash - contains details for Puppet, which will provision the VM. The facter hash is used for various details for WordPress and MySQL.

How to Use

To begin, copy Vagrantfile.sample to Vagrantfile and edit as needed. Optionally, install Vagrant Hostsupdater to automatically add the VM to your hosts file.

When complete, simply run vagrant up and if all goes well the environment should be ready to use in just a few minutes. phpMyAdmin will also be accessible at /phpmyadmin.

The document root of the webserver is the www directory at the root of this project and is mapped to /www on the VM.

Default Credentials

Account Username Password
MySQL root vagrant
MySQL WP DB (wordpress) wordpress wordpress
WordPress Admin vagrant vagrant

vagrant-wordpress's People

Contributors

axocomm avatar inetbiz avatar

Stargazers

 avatar

Watchers

 avatar  avatar

vagrant-wordpress's Issues

puppet failure with apt

  • This is a question about using the WordPress Vagrant.
  • This is a feature request for WordPress Vagrant.
  • I have checked my vagrant version and am up to date
  • I have tested locally with vagrant init; vagrant up.
  • I believe this to be a bug.

Troubleshooting Steps For Vagrant WordPress

Environment Information

  • Vagrant Version: 1.9.5
  • Build Log: log
  • Virtualbox Version: 5.1.22r115126
  • Operating system: Win7
  • Debug Log: log

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.