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
[alias] | |
init-sf = "!workingdir=$(pwd); tempdir=$(mktemp -dt gitinitsftmp); (cd $tempdir && git init && curl -o .gitignore https://gist.github.com/Oblongmana/7130387/raw/69aa9b661b0bd7300eff8648c65362c7f711f725/.gitignore-sf && mkdir -p apex-scripts && mkdir -p src/classes && touch README.md && cp -R $tempdir/. $workingdir); rm -rf $tempdir;" |
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/bash | |
# Create and deploy a Python/Flask "hello world" app on Heroku. | |
# by James Thornton, http://jamesthornton.com | |
# To run it, do: | |
# $ heroku login | |
# $ bash setup.sh helloworld | |
# $ cd helloworld |