Permalink
Browse files

updated readme

  • Loading branch information...
1 parent bd3e0bd commit 4095bbeddd255102c50f8ece6a75f9cdd6a9963d @specialunderwear committed Oct 11, 2012
Showing with 71 additions and 3 deletions.
  1. +71 −3 README.rst
View
@@ -8,8 +8,76 @@ Requires virtualenv and virtualenvwrapper.
cdco # cd to buildout root
cds voxin # (will autocomplete with tab and will cd into the project named voxin in the src dir)
buildout # will run buildout, but from the buildout root.
- ntest # will run ./bin/test (pbp.recipe.noserunner) from the buildout root
+ ntest # will run ./bin/test (pbp.recipe.noserunner) from the buildout root in the context of your current directory
cdomelette # will cd into the omelette dir.
-Please take a look at ``workflow.sh`` which demonstrates each command and
-the integration with virtualenv.
+Please take a look at (or run) ``workflow.sh`` which demonstrates each command and
+the integration with virtualenv and virtualenvwrapper::
+
+ #! /bin/bash
+
+ shopt -s expand_aliases
+ source virtualenvwrapper.sh
+
+ mkvirtualenv buildout-bash-completion
+ cp -f postactivate ~/.virtualenvs/buildout-bash-completion/bin/
+ deactivate
+ workon buildout-bash-completion
+
+ sleep 1
+ cd example
+ setbuildout
+
+ set -x verbose
+
+ sleep 1
+ cdco
+ python bootstrap.py --distribute
+
+ # run buildout from anywhere
+ sleep 1
+ cd /tmp
+
+ sleep 1
+ yes | buildout -v
+ cdco
+
+ sleep 2
+ yes | ./bin/buildout -v
+
+ # Quickly navigate your buildout
+ sleep 2
+ cds tornado
+
+ sleep 2
+ cdco
+
+ cds voxin
+ python voxin/server.py
+
+ # Use omelette to extend your python path
+ sleep 1
+ cdomelette
+ add2virtualenv .
+ cds voxin
+ python voxin/server.py &
+
+ sleep 1
+ kill $!
+
+ voxin &
+ sleep 1
+ kill $!
+
+ # bin is in your path
+ supervisord
+ supervisorctl restart all
+ supervisorctl shutdown
+
+ sleep 1
+ cds tornado
+ ntest
+ yes | develop up
+
+ echo "profit"
+

0 comments on commit 4095bbe

Please sign in to comment.