]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
docs: Fix a few code blocks
authorDamien Lespiau <damien.lespiau@intel.com>
Sun, 4 Oct 2015 13:34:59 +0000 (14:34 +0100)
committerStephen Finucane <stephen.finucane@intel.com>
Thu, 12 Nov 2015 04:28:43 +0000 (04:28 +0000)
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviwed-by: Stephen Finucane <stephen.finucane@intel.com>
docs/development.md

index 2fe9e5dc355bd7eba182d575b5580b1c168f536b..65f66a13dd584f58394c0035295c73358b8fa899 100644 (file)
@@ -19,14 +19,14 @@ used to test patchwork against several versions of Django.
    Inside a virtual env, we'll just install the dependencies needed for
    patchwork and run it from there.
 
-       $ virtualenv django-1.8
+        $ virtualenv django-1.8
 
    This will create a virtual env called 'django-1.8' in eponymous directory.
 
 3. Activate a virtual environment
 
-       $ source django-1.8/bin/activate
-       (django-1.8)$
+        $ source django-1.8/bin/activate
+        (django-1.8)$
 
    The shell prompt is preprended with the virtual env name.
 
@@ -36,20 +36,20 @@ used to test patchwork against several versions of Django.
    text file and install them in one go. One can maintain such a list of
    dependencies per interesting configuration.
 
-       (django-1.8)$ pip install -r docs/requirements-dev.txt
+        (django-1.8)$ pip install -r docs/requirements-dev.txt
 
    You will also need to install a version of Django - we don't install this
    by default to allow development against multiple versions of Django. This
    can be installed like so (assuming Django 1.8):
 
-       (django-1.8)$ pip install 'django<1.9,>=1.8'
+        (django-1.8)$ pip install 'django<1.9,>=1.8'
 
    Of course, this is a one-time step: once installed in the virtual
    environment there is no need to to install requirements again.
 
 5. Run the development server
 
-       (django-1.8)$ ./manage.py runserver
+        (django-1.8)$ ./manage.py runserver
 
 Once finished, you can kill the server (`Ctrl` + `C`) and exit the virtual
 environment: