Skip to content

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

Notifications You must be signed in to change notification settings

AliaksandrVahura-ScienceSoft/wordpress_kickstart

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published