-
-
Save Epictetus/2835761 to your computer and use it in GitHub Desktop.
日本語環境のwordpressをherokuにセットアップするスクリプト
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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