[PATCH 2/3] INSTALL: Indicate command line commands with $

Bryce Harrington bryce at osg.samsung.com
Sat Dec 6 08:23:08 AEDT 2014


The document makes a special point that commands to enter at the command
line will be prefixed with $, so deliver on the promise.  ;-)

Signed-off-by: Bryce Harrington <bryce at osg.samsung.com>
---
 docs/INSTALL | 28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

diff --git a/docs/INSTALL b/docs/INSTALL
index 2373e58..e35b451 100644
--- a/docs/INSTALL
+++ b/docs/INSTALL
@@ -93,7 +93,7 @@ in brackets):
 
         Set up some initial directories in the patchwork base directory:
 
-         mkdir -p lib/packages lib/python
+        $ mkdir -p lib/packages lib/python
 
         lib/packages is for stuff we'll download; lib/python is to add
         to our python path. We'll symlink python modules into lib/python.
@@ -101,10 +101,10 @@ in brackets):
         At the time of release, patchwork depends on django version 1.5 or
         later. Your distro probably provides this. If not, do a:
 
-         cd lib/packages
-	  git clone https://github.com/django/django.git -b stable/1.5.x
-         cd ../python
-         ln -s ../packages/django/django ./django
+        $ cd lib/packages
+	$ git clone https://github.com/django/django.git -b stable/1.5.x
+        $ cd ../python
+        $ ln -s ../packages/django/django ./django
 
         The settings.py file contains default settings for patchwork, you'll
         need to configure settings for your own setup.
@@ -133,18 +133,18 @@ in brackets):
 
         Then, get patchwork to create its tables in your configured database:
 
-         cd apps/
-         PYTHONPATH=../lib/python ./manage.py syncdb
+        $ cd apps/
+        $ PYTHONPATH=../lib/python ./manage.py syncdb
 
         And add privileges for your mail and web users. This is only needed if
         you use the ident-based approach. If you use password-based database
         authentication, you can skip this step.
 
         Postgresql:
-          psql -f lib/sql/grant-all.postgres.sql patchwork
+        $ psql -f lib/sql/grant-all.postgres.sql patchwork
 
         MySQL:
-          mysql patchwork < lib/sql/grant-all.mysql.sql
+        $ mysql patchwork < lib/sql/grant-all.mysql.sql
 
 
 3. Apache setup
@@ -161,8 +161,8 @@ wsgi:
 
         You will need to install/enable mod_wsgi for this to work:
 
-         a2enmod wsgi
-         apache2ctl restart
+        $ a2enmod wsgi
+        $ apache2ctl restart
 
 mod_python:
 
@@ -185,8 +185,8 @@ fastcgi:
 
         Once you have apache set up, you can start the fastcgi server with:
 
-          cd /srv/patchwork/apps
-          ./manage.py runfcgi method=prefork \
+        $ cd /srv/patchwork/apps
+        $ ./manage.py runfcgi method=prefork \
                               socket=/srv/patchwork/var/fcgi.sock \
                               pidfile=/srv/patchwork/var/fcgi.pid
 
@@ -221,7 +221,7 @@ fastcgi:
 
     Test that you can deliver a patch to this script:
 
-     sudo -u nobody /srv/patchwork/apps/patchwork/bin/parsemail.sh < mail
+    $ sudo -u nobody /srv/patchwork/apps/patchwork/bin/parsemail.sh < mail
 
 7. Set up the patchwork cron script
 
-- 
1.9.1



More information about the Patchwork mailing list