Skip to content

Instantly share code, notes, and snippets.

@justinabrahms
Created September 21, 2012 18:29
Show Gist options
  • Save justinabrahms/3763101 to your computer and use it in GitHub Desktop.
Save justinabrahms/3763101 to your computer and use it in GitHub Desktop.
; setup dev environment w/ ponymode.
(defun pony-time ()
(interactive)
(if virtualenv-workon-session
(progn
(pony-runserver)
(pony-manage-run '("celeryd" "-lINFO" "--traceback" "--autoreload"))
(pony-shell)
(sql-mysql))
(error "setup your virtualenv first")))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment