@@ -25,53 +25,9 @@ Simply add a [post-receive hook](http://help.github.com/post-receive-hooks/) to
25
25
26
26
### Installation
27
27
28
- #### HOSTS
29
-
30
- 1 . Add a ` dev.plugins.jquery.com ` entry in /etc/hosts
31
-
32
- * ` 127.0.0.1 dev.plugins.jquery.com `
33
-
34
28
#### web-base-template
35
29
36
- 1 . Download or clone web-base-template
37
-
38
- * ` git clone git://github.com/jquery/web-base-template.git `
39
-
40
- #### WordPress
41
-
42
- 1 . Install and run a web server (such as Apache), PHP, and MySQL.
43
-
44
- 2 . Follow http://codex.wordpress.org/Installing_WordPress#Famous_5-Minute_Install
45
-
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://dev.plugins.jquery.com/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');
54
-
55
- #### WordPress config
56
-
57
- From http://dev.plugins.jquery.com/wordpress/wp-admin/
58
-
59
- 1 . Update Site Address
60
-
61
- * Select Settings -> General
62
- * Set Site Address to http://dev.plugins.jquery.com
63
-
64
- 2 . Activate the plugins-jquery-com theme
65
-
66
- * Select Appearance -> Themes
67
- * Under plugins-jquery-com, select 'Activate'
68
-
69
- 3 . Set Custom Structure for Permalinks
70
-
71
- * Select Settings -> Permalinks
72
- * Select Custom Structure
73
- * Enter ` /%postname%/ `
74
- * Click Save Changes
30
+ 1 . Follow the installation steps for [ web-base-tempalate] ( https://github.com/jquery/web-base-template ) .
75
31
76
32
#### Install node >=0.6.4
77
33
@@ -91,10 +47,7 @@ From http://dev.plugins.jquery.com/wordpress/wp-admin/
91
47
* Set ` wordpress ` properties to contain a valid username and password for the WordPress site.
92
48
93
49
6 . ` grunt setup `
94
- * This is a one time setup.
95
50
96
- 7 . ` node scripts/update-server.js `
97
- * This starts an HTTP server on port 8001, which expects post-receive hooks as requests.
51
+ ### Running the site
98
52
99
- 8 . ` node scripts/wordpress-update.js `
100
- * This is a long running process which keeps WordPress in sync with the plugins DB.
53
+ ` node scripts/manager.js `
0 commit comments