Skip to content

Instantly share code, notes, and snippets.

@feliperyan
Last active August 29, 2015 14:21
Show Gist options
  • Save feliperyan/998b678d84903a8d9763 to your computer and use it in GitHub Desktop.
Save feliperyan/998b678d84903a8d9763 to your computer and use it in GitHub Desktop.
#This assumes you downloaded the PostgreSQL app,
#Python 3, the Heroku Toolbelt and Sublime Text 3.
#Create and activate virtual environment
pyvenv ~/virtualevns/wagtailenv
source ~/virtualenvs/wagtailenv/bin/activate
#Allow Sublime Text to be opened from the Terminal
ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/sublime
#Edit or create a bash_profile so your settings stick.
sublime ~/.bash_profile
#Add the line below taking care to change it if you
#have a different version of PostgreSQL. Remove the "#"
#PATH="/Applications/Postgres.app/Contents/Versions/9.4/bin:$PATH"
#Save it
source ~/.bash_profile
pip3 install wagtail
pip3 install ipython
pip3 install psycopg2
wagtail start mynewapp
cd mynewapp
rm Vagrantfile
rm -rf vagrant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment