Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #23 from spookylukey/master

README improvements, doc CSS fix
  • Loading branch information...
commit 591295682579a76149fd177cd3180d536502b423 2 parents c35ad21 + 87f65da
Jannis Leidel jezdez authored
Showing with 40 additions and 4 deletions.
  1. +37 −3 README.txt
  2. +3 −1 media/css/docs/docs.css
40 README.txt
View
@@ -1,8 +1,42 @@
-TO run locally, do the usual::
+To run locally, do the usual:
- python manage.py runserver.
+1. Create a virtualenv
+2. Install dependencies::
+
+ pip install -r deploy-requirements.txt
+
+ If you only need to deploy, and don't need to test any changes,
+ you can use local-requirements.txt
+
+3. Set up databases, as per django_website/settings/www.py
+
+4. Create a 'secrets.json' file in the directoy above the checkout, containing
+ something like::
+
+ { "secret_key": "xyz" }
+
+5. Set up DB::
+
+ ./manage.py syncdb
+ ./manage.py migrate
+
+ and::
+
+ ./manage.py sycndb --docs
+
+ if you want to run docs site.
+
+6. For docs::
+
+ ./manage.py loaddata doc_releases.json --docs
+ ./manage.py update_docs --docs
+
+
+Finally::
+
+ python manage.py runserver
This runs as ``www.djangoproject.com``. To run locally as
``docs.djangoproject.com``, use::
- python manage.py runserver --settings=django_website.settings.docs
+ python manage.py runserver --settings=django_website.settings.docs
4 media/css/docs/docs.css
View
@@ -11,4 +11,6 @@
#page_search .submit { float: right; font-size: 150%; }
/* Search results */
-#search-results span.highlighted { background-color: #ffe761; font-weight: bold; }
+#search-results span.highlighted { background-color: #ffe761; font-weight: bold; }
+
+#content-main blockquote { padding: 0 1em; margin: 1em 0; font:125%/1.2em "Trebuchet MS", sans-serif; color:#234f32; border-left:2px solid #94da3a; }
Please sign in to comment.
Something went wrong with that request. Please try again.