Skip to content

Instantly share code, notes, and snippets.

@nicholaskuechler
Last active December 20, 2015 14:29
Show Gist options
  • Save nicholaskuechler/6147588 to your computer and use it in GitHub Desktop.
Save nicholaskuechler/6147588 to your computer and use it in GitHub Desktop.
# my virtualenvs are in ~/virtualenvs - you may need to adjust for your environment
cd ~/virtualenvs
virtualenv pelican-sprint-test
cd pelican-sprint-test
. bin/activate
mkdir ~/virtualenvs/pelican-sprint-test/src
cd ~/virtualenvs/pelican-sprint-test/src
git clone https://github.com/getpelican/pelican
cd pelican
pip install -r dev_requirements.txt
cp .git/config .git/config.ORIG
sed -i -e 's|fetch = +refs\/heads\/\*:refs\/remotes\/origin\/\*|fetch = +refs\/pull\/\*\/head:refs\/remotes\/origin\/pr\/\*|g' .git/config
git fetch origin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment