Code Monkey home page Code Monkey logo

flo-dev's Introduction

Wordpress Kickstart

Basic wordpress kickstarter project that runs locally on Vagrant, production on DigitalOcean, are provisioned by puppet and uses git.

Based on markjaquith/WordPress-Skeleton, MikeRogers0/vagrant-nginx-wordpress-puppet and this excellent post.

Assumptions

  • Your webroot is /files
  • All writable directories are symlinked to similarly named locations under /shared/.
  • Your production stack is hosted on DigitalOcean

Getting Started

Install vagrant-digitalocean.

Install vagrant-hostsupdater

Clone this repository like git clone [email protected]:jnettome/wordpress_kickstart.git my-wordpress-project

Configure your Vagrantfile as your needs.

In order to use with DigitalOcean you need to change your DigitalOcean's API credentials in Vagrantfile.

If you're working on development

cd my-wordpress-project
vagrant up

Or if you're working on production deployment and provisioning

cd my-wordpress-project
vagrant up --provider=digital_ocean

This command will create a new droplet, setup your SSH key for authentication, create a new user account, and run the provisioners configured.

When you are switching from production to development or the opposite, remove .vagrant/ from your project's root folder (info).

Working with

Access your wordpress on http://192.168.4.20 or pointing to your hostname from Vagrantfile if you're using vagrant-hostsupdater.

Default mysql credentials:

hostname: localhost
database: wordpress
username: wordpress
password: wordpress-vagrant

Roadmap

  • Vagrant hosts plugin
  • Better production provisioning (secure)
  • Configure deploy method (git or capistrano)

flo-dev's People

Contributors

deester4x4jr avatar

Watchers

James Cloos avatar  avatar

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.