commit 2b09ad0a88afff9d428471f5036b870aca48b8d9
Author: Jan Pokorný <jpokorny(a)redhat.com>
Date: Sat Feb 25 19:38:06 2012 +0100
README.txt: elaborate on bootstrap process
Signed-off-by: Jan Pokorný <jpokorny(a)redhat.com>
README.txt | 21 +++++++++++++--------
1 files changed, 13 insertions(+), 8 deletions(-)
---
diff --git a/README.txt b/README.txt
index 93db649..c7f90e7 100644
--- a/README.txt
+++ b/README.txt
@@ -54,19 +54,24 @@ as usual.
2.3 Quick start (for contribution)
----------------------------------
-Bootstrap script is the fastest way to start hacking (this will setup
-virtualenv environment in the current dir, modify as per your needs)::
+Bootstrap script is the fastest way to experiment with sunzi. No external
+Python library is needed as Python side is well-managed in the isolated
+virtualenv environment. This snippet will setup the environment in the
+current dir (but feel free to modify as per your needs)::
URL='http://git.fedorahosted.org/git/?p=sunzi.git;a=blob_plain;f=sunz...
- ENV=.
- curl $URL | python -c 'import
sys;__file__="_";exec(sys.stdin.read())' $ENV
-
-The whole process may take a while as the steps from 2.2 are being perfomed
-(third-party repositories cloned, etc.).
-
+ ARGS=". " # actual arguments for virtualenv (target dir has to be present)
+ curl $URL | python -c'import
sys;__file__="_";exec(sys.stdin.read())' $ARGS
+ # or download $URL locally and run as a common Python script...
.. TODO: URL may be even static file, e.g., on
fedorapeople.org
+The whole process may take a while as the steps from 2.2 are being perfomed
+(third-party repositories cloned, etc.). In the internal logic of setup,
+the virtualenv environment is used automatically, but you have to activate
+it manually (`source bin/activate`, look at virtualenv documentation),
+before rerunning the application, etc.
+
.. ``TODO``
.. Prerequisities for successful build/installation/deployment: