Skip to content

Commit c12e986

Browse files
committed
Updated readme for new web-base-template usage.
1 parent 35719ff commit c12e986

File tree

1 file changed

+21
-16
lines changed

1 file changed

+21
-16
lines changed

README.md

+21-16
Original file line numberDiff line numberDiff line change
@@ -25,41 +25,46 @@ Simply add a [post-receive hook](http://help.github.com/post-receive-hooks/) to
2525

2626
### Installation
2727

28-
### web-base-template
29-
30-
1. Download or clone web-base-template
31-
32-
* `git clone git://github.com/jquery/web-base-template.git`
33-
3428
#### HOSTS
3529

3630
1. Add a `plugins.jquery.com.dev` entry in /etc/hosts
3731

3832
* `127.0.0.1 plugins.jquery.com.dev`
3933

34+
#### web-base-template
35+
36+
1. Download or clone web-base-template
37+
38+
* `git clone git://github.com/jquery/web-base-template.git`
39+
4040
#### WordPress
4141

4242
1. Install and run a web server (such as Apache), PHP, and MySQL.
4343

4444
2. Follow http://codex.wordpress.org/Installing_WordPress#Famous_5-Minute_Install
4545

46-
3. Redirect your WordPress install to use the web-base-template's theme and config (replacing "[YourWordPressInstallDirectory]" with the actual name of the directory where you installed WordPress)
47-
* `rm -rf [YourWordPressInstallDirectory]/wp-content`
48-
* `ln -s web-base-template/wordpress/wp-content wordpress/wp-content`
46+
3. Move `wordpress/wp-config.php` to `wp-config.php` and add the following:
47+
48+
define( 'WP_CONTENT_DIR', dirname( ABSPATH ) . '/web-base-template' );
49+
define( 'WP_CONTENT_URL', 'http://plugins.jquery.com.dev/web-base-template' );
50+
51+
4. Copy `wordpress/index.php` to `index.php` and add update the require at the bottom to be:
52+
53+
require('./wordpress/wp-blog-header.php');
4954

5055
#### WordPress config
5156

52-
From http://plugins.jquery.com.dev/wp-admin/
57+
From http://plugins.jquery.com.dev/wordpress/wp-admin/
5358

54-
1. Activate the plugins-jquery-com theme
59+
1. Update Site Address
5560

56-
* Select Appearance -> Themes
57-
* Under plugins-jquery-com, select 'Activate'
61+
* Select Settings -> General
62+
* Set Site Address to http://plugins.jquery.com.local
5863

59-
2. Activate the jQuery Slugs plugin
64+
2. Activate the plugins-jquery-com theme
6065

61-
* Select Plugins
62-
* Under jQuery Slugs, select 'Activate'
66+
* Select Appearance -> Themes
67+
* Under plugins-jquery-com, select 'Activate'
6368

6469
3. Set Custom Structure for Permalinks
6570

0 commit comments

Comments
 (0)