Skip to content

Instantly share code, notes, and snippets.

@wadadanet
Created March 19, 2019 05:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wadadanet/766eeeef5d93ed013ec7c2e5bfceab08 to your computer and use it in GitHub Desktop.
Save wadadanet/766eeeef5d93ed013ec7c2e5bfceab08 to your computer and use it in GitHub Desktop.
Herokuに新規サイト作成
SET /p site=site name:
SET /p user=user name:
SET /p pass=password:
git clone https://github.com/nulltask/heroku-static-provider.git %site%
cd %site%
wsl rm -rf .git
git init
git add -A
git commit -am "Innitial commit"
heroku create %site% && heroku config:set USER=%user% && heroku config:set PASS=%pass% && git push -u heroku master && heroku open
cmd /k echo end.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment