Hacker News new | past | comments | ask | show | jobs | submit login
WP Engine launches git deployment for WordPress (pandodaily.com)
91 points by dotBen on July 24, 2012 | hide | past | favorite | 39 comments



Their blog has more information: http://wpengine.com/2012/07/wp-engine-announces-git-push-to-...

Also, their git site has a bit: http://git.wpengine.com/


IIRC there are already 70(?) million WP sites, with 45(?) million not hosted on wordpress.com. I wouldn't be surprised if this built in git deployment makes that number grow much more quickly. It sounds like a lot of people already treat WP like a tech stack. So, this could basically be treated like heroku.


Yup, "treating it like Heroku" is exactly our idea! They showed the way and we're happy to follow their lead and bring that functionality to the WordPress community.


Recently moved to WP Engine. Couldn't be happier. Wordpress is awesome but really sucks when you have to host it yourself.


I thought about moving but I couldn't get past them using 'visitors' as a tier function in their pricing and also claiming 'unlimited' bandwidth those things are opposites to me. Is that unique visitors or page views?


That's a really great question, and a lot of people have asked it. So we had Jason write a blog post to explain how we count visits.

TL;DR "We take the number of unique IP addresses seen in a 24-hour period as the number of “visits” to the site during that period. The number of “visits” in a given month is the sum of those daily visits during that month."

http://wpengine.com/2012/04/visitors/


Love the announcement. But a followup question: if WP Engine has excellent built-in caching and optional CDN, why meter so strictly by visits?

It reminds me of A/B services that scale similarly: by the time you get up to 100k or 250k visits per month, you also get 50 domains and 1000 simultaneous tests and all sorts of unnecessary stuff.


I'll be interested in seeing how this works. I only occasionally build sites on WordPress, but every time I do, I struggle to come up with a reasonable deployment process.

Being able to update plugins and the WP core through the admin panel makes it easy for your server and source code to become out of sync. The configuration file also needs to change for production databases. From what I've seen, there's no agreed upon way to deal with these issues.


I spent a good chunk of time last night working through this tutorial (http://wp.tutsplus.com/tutorials/hosting/wordpress-developme...) to set up git deployment for a new Wordpress site. sigh At least I learned some stuff?


I promise you learning that was worth your while :-) Git is a super deep tool, and it takes time to get familiar.


Taking a look back on all technologies and related configurations I touched (Apache, MySQL, Wordpress, Git), I'd agree it was worth the time. I'm pretty familiar with the basic Git functions (typical pull, push, merge, rebase, etc), though it was my first hands on experience with Git hooks. Git hooks rock.


Agreed. This makes a big difference in how people can deploy WordPress now. Next time you're doing research, you may want to take a look at nginx and how it works with Apache / what the tradeoffs are. It's a blazing fast server technology.


This is really sweet!

We switched our Entrepreneurs Unpluggd hosting to WP Engine 4 months ago and haven't had a single issue since. Our previous host was atrocious with insecure support, consistent downtime, and an overall unprofessional demeanor.

This sort of innovation is what I love to see with a web host. Keep it up Jason and team!

Disclosure: WP Engine is the hosting sponsor for Entrepreneurs Unpluggd.


And, ironically, their site is down. That's a pretty bad sign for a service that's supposed to provide a more performant installation of Wordpress. I hope it's actually something on the hosting side of things (or maybe they don't use WP for their main site...)


That's strange, we've not had any notifications of downtime from our own monitoring.

I'll investigate now, but not sure what might be causing that.


It wasn't working for me before, but appears up now that I'm at home. I was on Georgia Tech campus (which I believe peers with Level3 for most commercial traffic), if that helps. Might have been a backend/infrastructure thing (like I hoped).


I've had really bad luck with their uptime. It doesn't help that they seem under constant DDOS attack.


Yeah, our DNS provider Zerigo had a nasty DDOS attack over Sunday that many sites got caught up in, including us.

As you can imagine, mitigating DDOS on a nameserver is tricky due to the nature of the requests coming in - harder to Deep Packet Inspect and scrub, or easily identify patterns of bad traffic access to zero-route.


1. third party zone transfers 2. Anycast DNS 3. Use more than one provider. 4. warm spares that are not in delegation until needed.


Yup, we're switching to multiple providers. The fact that there were already multiple geographically redundant IPs should have averted most issues, but someone made a highly-coordinated attack on the provider at all their IPs.

We learn and move on. I wonder how many other startups are going as far as using DNS from multiple providers? I still see many startups using Go Daddy for their DNS... :/


What is terrifying is that WordPress is very easy to set-up caching so it can withstand heavy loads. Not setting this up either means:

a) They don't know as much about WP as they ought to.

b) Their service is bad. Even Bluehost/Dreamhost can take heavy traffic without problem when WP is set-up properly.


Or perhaps c) there's one of many reasons why the site wasn't reachable at the time from the university campus where the person reported in from.

They went home, it works from their home ISP. We're not seeing any other reports of downtime or unavailability across any of our monitoring. No one else here is reporting "down for me too".

The fact that our site was unavilable for them on their university campus, while still concerning, hardly equates to "we don't know much about WordPress" or "our service is bad".

And "terrifying"... really?


"No one else here is reporting "down for me too"."

Except for the other person who complained in the responses about uptime.

Or the tweets from people reporting that their site is down, and your site is down: https://twitter.com/#!/search/%40wpengine%20down

"And "terrifying"... really?"

When you get hit with a heavy load and go down, it is an huge issue for a web business. The whole point is to drive large amounts of traffic, and so if a marketing campaign is successful you're paying for nothing.

Apparently you don't think that web based businesses having downtime is an issue. Worse yet, your casual and downright confrontational attitude when confronted with actual evidence.

So, yes, WPEngine...terrifying.


Keep calm and carry on.

Put yourself in their shoes for a minute, and try building a company that is pushing tech boundaries.

Not saying you aren't, but based on your tone it would indicate that a) You don't know what it's like to roll out something that generates a lot of interest in a short-period of time, or b) Have forgotten what it's like to be in that situation.

No matter how prepared you are, dealing with a huge burst of traffic in a very short period of time is the quintessential "hard problem" for web developers - especially in modern web businesses where anything can cause the site to slow (e.g. an expired cache on a node on a CDN that happens to be slow/down during the window you launched, that also happens to be serving some asset other aspects of your site rely on - css/js/etc.).

Even Google, Amazon & Apple, who have boatloads of cash and hundreds of man-decades of experience building web infrastructure still have issues like this on a launch day.

So cut them some slack.

When it's your turn to be in that position, we will do our best to return the favor.


Since it isn't clear from the article: Is this "git deployment" just for the code components of WordPress (e.g, core upgrades, themes, and plugins), or does it cover content in the database as well? The latter would be much more interesting and useful.


We're recommending that core not be part of the deployment, since that could conflict with normal versioning of WordPress. It covers files and database. Check git.wpengine.com for the super in-depth coverage.


If you want to keep your content in version control, checkout this project - https://github.com/scottgonzalez/grunt-wordpress .


That would be some tricky git work. I'm fairly sure some sort of separate database configuration would still be needed (such as modifying the wp-config file). Jump down to step 7 here (http://wp.tutsplus.com/tutorials/hosting/wordpress-developme...).


Yeah, I keep my blog posts in text files via git, and just push up to my server using XMLRPC.

https://github.com/brool/wordpress-shuffle


Similar service: Telegr.am (trough GitHub or Dropbox)

http://news.ycombinator.com/item?id=4287923


I have been deploying a Wordpress site using capistrano and git for a while now. Seems to work pretty well and it is configurable if you like that kind of thing. This approach is a little more hands on than wpengine, but it provides reliable site deployment.

Here's my deploy.rb https://gist.github.com/3174085


We also recently released a Github project for doing this called "WP Stack". Git, Capistrano, CDN rewrites, and staging environment all in one toolkit. knewt.ly/N119BM


Using checkout from the WP svn is developer 101 http://core.svn.wordpress.org/

There is also a plugin svn http://plugins.svn.wordpress.org/

Installing is not the problem, the problem is WP performance out of the box is horrendous.


That's definitely why you want someone like WPEngine doing this for you; Jason and the team there is fantastic and they rival Automattic for their WP knowledge. Out of the box on WPEngine is astronomically better than out of the box on a regular hosting company.


This x 1000. I share the same co-working space with WP Engine, and couldn't be more impressed with their service and their team.

Kudos, WPE.


would you mind telling us more ? Tweaks/Cache system ? ...


Git is better for managing Wordpress for a number of reasons:

1. You can add plugins and themes to your local tree.

2. Git doesn't need to be connected to the Wordpress SVN in order to do its work.

and, personal opinion:

3. It's faster. Much faster.


I don't understand the use case for this at all. I think they're trying to emulate Heroku's git-based deployment, but do WP users even use git? Is Wordpress even designed for continuous deployment?


No WPEngine hosted sites, or their own domain are loading in comodo's chromium based browser... they all go to a 403 forbidden error message




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: