Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #23 from spookylukey/master

README improvements, doc CSS fix
  • Loading branch information...
commit 591295682579a76149fd177cd3180d536502b423 2 parents c35ad21 + 87f65da
Jannis Leidel authored December 13, 2011
40  README.txt
... ...
@@ -1,8 +1,42 @@
1  
-TO run locally, do the usual::
  1
+To run locally, do the usual:
2 2
 
3  
-    python manage.py runserver.
  3
+1. Create a virtualenv
  4
+2. Install dependencies::
  5
+
  6
+    pip install -r deploy-requirements.txt
  7
+
  8
+   If you only need to deploy, and don't need to test any changes,
  9
+   you can use local-requirements.txt
  10
+
  11
+3. Set up databases, as per django_website/settings/www.py
  12
+
  13
+4. Create a 'secrets.json' file in the directoy above the checkout, containing
  14
+   something like::
  15
+
  16
+    { "secret_key": "xyz" }
  17
+
  18
+5. Set up DB::
  19
+
  20
+    ./manage.py syncdb
  21
+    ./manage.py migrate
  22
+
  23
+   and::
  24
+
  25
+    ./manage.py sycndb --docs
  26
+
  27
+   if you want to run docs site.
  28
+
  29
+6. For docs::
  30
+
  31
+    ./manage.py loaddata doc_releases.json --docs
  32
+    ./manage.py update_docs --docs
  33
+
  34
+
  35
+Finally::
  36
+
  37
+    python manage.py runserver
4 38
 
5 39
 This runs as ``www.djangoproject.com``. To run locally as
6 40
 ``docs.djangoproject.com``, use::
7 41
 
8  
-    python manage.py runserver --settings=django_website.settings.docs
  42
+    python manage.py runserver --settings=django_website.settings.docs
4  media/css/docs/docs.css
@@ -11,4 +11,6 @@
11 11
 #page_search .submit { float: right; font-size: 150%; }
12 12
 
13 13
 /* Search results */
14  
-#search-results span.highlighted { background-color: #ffe761; font-weight: bold; }
  14
+#search-results span.highlighted { background-color: #ffe761; font-weight: bold; }
  15
+
  16
+#content-main blockquote { padding: 0 1em; margin: 1em 0; font:125%/1.2em "Trebuchet MS", sans-serif; color:#234f32; border-left:2px solid #94da3a; }

0 notes on commit 5912956

Please sign in to comment.
Something went wrong with that request. Please try again.