Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Epictetus/2835761 to your computer and use it in GitHub Desktop.
Save Epictetus/2835761 to your computer and use it in GitHub Desktop.
日本語環境のwordpressをherokuにセットアップするスクリプト
#!/bin/sh
git clone git://github.com/masainox/wordpress-heroku.git -b language-ja
cd wordpress-heroku
heroku create --stack cedar
heroku addons:add shared-database:5mb
# create a new branch
git checkout -b production
# copy the wp-config.php and commit wp-config.php
cp wp-config-sample.php wp-config.php
>.gitignore
git add .
git commit -m "zomg wordpress"
# deploy to heroku
git push heroku production:master
# open app
heroku open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment