Skip to content

Commit

Permalink
Wordpress to WordPress
Browse files Browse the repository at this point in the history
  • Loading branch information
okko committed Jun 17, 2014
1 parent 5b7be1a commit a05a337
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ v0.7

2013-02-08 Marc Chung <mchung@gmail.com>

* Changed the Wordpress on Heroku project template. Older blogs deploying
* Changed the WordPress on Heroku project template. Older blogs deploying
against this buildpack will no longer work. Refer to UPGRADING.md.
* Added /app/bin to PATH

Expand Down
8 changes: 4 additions & 4 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ $ git push heroku master
...
-----> Heroku receiving push
-----> Fetching custom git buildpack... done
-----> Wordpress app detected
-----> WordPress app detected
.
[...]
.
-----> Discovering process types
Procfile declares types -> (none)
Default types for Wordpress -> web
Default types for WordPress -> web
-----> Compiled slug size: 33.7MB
-----> Launching... done, v7
```
Expand All @@ -53,7 +53,7 @@ Open your new WordPress site in a web browser.
$ heroku apps:open
```

> Happy? Add your site to the growing [list of WordPress sites runnning on Heroku](https://github.com/mchung/heroku-buildpack-wordpress/wiki/Sites-running-Wordpress-on-Heroku).
> Happy? Add your site to the growing [list of WordPress sites runnning on Heroku](https://github.com/mchung/heroku-buildpack-wordpress/wiki/Sites-running-WordPress-on-Heroku).
## Overview

Expand Down Expand Up @@ -300,7 +300,7 @@ Not comfortable downloading and running a copy of someone else's PHP or Nginx ex

Thanks for reading this all the way through.

If you use this buildpack in production, please update the [list of WordPress sites running on Heroku](https://github.com/mchung/heroku-buildpack-wordpress/wiki/Sites-running-Wordpress-on-Heroku).
If you use this buildpack in production, please update the [list of WordPress sites running on Heroku](https://github.com/mchung/heroku-buildpack-wordpress/wiki/Sites-running-WordPress-on-Heroku).

## License

Expand Down
2 changes: 1 addition & 1 deletion UPGRADING.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
v0.7 introduces a new project template layout. Refer to the README for details.

Since buildpacks are coupled to project templates, older versions of the
Wordpress on Heroku project template will no longer work with the latest
WordPress on Heroku project template will no longer work with the latest
version of the buildpack

There are two ways to fix this.
Expand Down
6 changes: 3 additions & 3 deletions VERSIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ PHP
* 5.4.11 (5.4-stable)
* 5.3.9 (5.3-stable)

Wordpress *downloaded directly* from [Wordpress](http://wordpress.org/download/release-archive/)
WordPress *downloaded directly* from [WordPress](http://wordpress.org/download/release-archive/)
* 3.9.1
* 3.9
* 3.8.2
Expand All @@ -24,7 +24,7 @@ Wordpress *downloaded directly* from [Wordpress](http://wordpress.org/download/r
* 3.5.1
* 3.5.0

Configure Wordpress on Heroku to use specific versions of Nginx and PHP
Configure WordPress on Heroku to use specific versions of Nginx and PHP
```bash
$ git clone git://github.com/your_name/wordpress-on-heroku.git mydogblog
$ cd mydogblog
Expand All @@ -37,7 +37,7 @@ $ heroku config:set BUILDPACK_URL=https://github.com/mchung/heroku-buildpack-wor
$ git push heroku master
```

Configure existing Wordpress on Heroku to use a specific version of Wordpress
Configure existing WordPress on Heroku to use a specific version of WordPress
```bash
$ cd existing_wp
$ heroku labs:enable user-env-compile
Expand Down
4 changes: 2 additions & 2 deletions bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ if [ ! -d ./vendor/php ]; then
curl --silent --max-time 60 --location $PHP_URL | tar xz
fi

# Wordpress
echo "-----> Installing Wordpress v${WORDPRESS_VERSION}"
# WordPress
echo "-----> Installing WordPress v${WORDPRESS_VERSION}"
cd ${BUILD_DIR}
curl --silent --max-time 60 --location $WORDPRESS_URL | tar xz

Expand Down
2 changes: 1 addition & 1 deletion bin/detect
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Usage: bin/compile <build-dir>

if [ -f $1/config/public/wp-config.php ]; then
echo "Wordpress"
echo "WordPress"
exit 0
else
exit 1
Expand Down
4 changes: 2 additions & 2 deletions support/wordup
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ case "$1" in
--create|-c)
instance_name=$2

echo "-----> Installing Wordpress on Heroku"
echo "-----> Installing WordPress on Heroku"
git clone git://github.com/mchung/wordpress-on-heroku.git $instance_name | indent
cd $instance_name

Expand All @@ -39,7 +39,7 @@ case "$1" in
--destroy|-d)
instance_name=$2

echo "-----> Uninstalling Wordpress (${instance_name}) :("
echo "-----> Uninstalling WordPress (${instance_name}) :("
heroku destroy --app $instance_name

echo "-----> Your local copy will remain untouched."
Expand Down
22 changes: 11 additions & 11 deletions support/wordup.markdown
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# Wordup automatically sets up Wordpress on Heroku.
# Wordup automatically sets up WordPress on Heroku.

Install Wordpress in < 60 seconds.
Install WordPress in < 60 seconds.

## Who are you?

1. Someone who uses Wordpress. Perhaps a developer, which is why you're reading this on GitHub.com
1. Someone who uses WordPress. Perhaps a developer, which is why you're reading this on GitHub.com
2. Someone who is comfortable with the command line. Perhaps a developer, which is why you're still reading this.
3. Someone who likes to help their friends get up and running with Wordpress, but hates the setup, security, and ongoing maintenance (cleaning up logs, upgrading instances, locking down Wordpress, performance, etc.)
3. Someone who likes to help their friends get up and running with WordPress, but hates the setup, security, and ongoing maintenance (cleaning up logs, upgrading instances, locking down WordPress, performance, etc.)

## Here's what you get

```
$ time wordup -c new-wordpress-site
-----> Installing Wordpress on Heroku
-----> Installing WordPress on Heroku
Cloning into 'new-wordpress-site'...
remote: Counting objects: 166, done.
remote: Compressing objects: 100% (121/121), done.
Expand All @@ -33,15 +33,15 @@ Compressing objects: 100% (121/121), done.
Writing objects: 100% (166/166), 1.04 MiB | 178 KiB/s, done.
Total 166 (delta 37), reused 166 (delta 37)
-----> Fetching custom git buildpack... done
-----> Wordpress app detected
-----> WordPress app detected
-----> Installing Nginx v1.3.11
-----> Installing PHP v5.4.11
-----> Installing Wordpress v3.5.1
-----> Installing WordPress v3.5.1
-----> Writing start.sh script
-----> Done with compile
-----> Discovering process types
Procfile declares types -> (none)
Default types for Wordpress -> web
Default types for WordPress -> web
-----> Compiled slug size: 34.4MB
-----> Launching... done, v7
http://new-wordpress-site.herokuapp.com deployed to Heroku
Expand All @@ -61,11 +61,11 @@ sys 0m0.389s

## Example

### Create a Wordpress instance
### Create a WordPress instance

wordup -c new_shiny_wordpress

### Destroy a Wordpress instance
### Destroy a WordPress instance

wordup -d new_shiny_wordpress

Expand All @@ -81,6 +81,6 @@ Copy your themes or plugins into `setup/wp-content/plugins` or `setup/wp-content

## Requirements, Gotchas, and Other notes

* Installs Wordpress 3.5.1
* Installs WordPress 3.5.1
* Requires git.
* Requires a Heroku account.

0 comments on commit a05a337

Please sign in to comment.