Basic wordpress kickstarter project that runs locally on Vagrant, production on DigitalOcean, are provisioned by puppet and uses git.
- Your webroot is
- All writable directories are symlinked to similarly named locations under
- Your production stack is hosted on DigitalOcean
Clone this repository like
git clone firstname.lastname@example.org:jnettome/wordpress_kickstart.git my-wordpress-project
Vagrantfile as your needs.
In order to use with DigitalOcean you need to change your DigitalOcean's API credentials in
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).
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
- Vagrant hosts plugin
- Better production provisioning (secure)
- Configure deploy method (git or capistrano)