Categorized: Subversion, WordPress

Installing WordPress The Right Way

svn co http://svn.automattic.com/wordpress/tags/[current_tag_number] [name_of_site]
cd [name_of_site]
touch .htaccess
chmod 666 .htaccess
cp wp-config-sample.php wp-config.php
cd wp-content/themes/
cp -R default [name_of_theme]
cd [name_of_theme]
rm -rf `find . -type d -name .svn`

Now import the content of wp-content/themes/[name_of_theme] into your choice of source code management systems and get to it.

Updating

 cd [name_of_site]
 svn sw http://svn.automattic.com/wordpress/tags/[new_tag_number]

Sources

Comments

JTJ → May 28th, 2008 at 3:19 pm

Why a branch instead of a tag?

Trey → May 28th, 2008 at 3:46 pm

No reason. You think tag would be better than branch?

JTJ → May 29th, 2008 at 8:17 am

In general, tags are actual releases and will not change; whereas, branches are in-progress and not always stable. I’d recommend using tags.

Trey → May 29th, 2008 at 8:54 am

@JTJ - Noted and updated the post.

What do you think about that?

Elsewhere in the empire: Home, Blog, APOD