Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Better documentation for Sites

  • Loading branch information...
commit 79ad4b78ca8ccfc5f507c08ea6d5f2a7cd6f65af 1 parent b1bc1f5
@x1B x1B authored
Showing with 13 additions and 9 deletions.
  1. +13 −9 README.md
View
22 README.md
@@ -67,22 +67,15 @@ Put your database settings in `settings_local.py`:
}
}
-The second database can be the same as the first. It is used to load aggregate
-website issues (generated by clustering) from a cron task. They are displayed
-by the website_issues app (``/<locale>/sites`` urls).
-To load example site data without getting it pushed from metrics, run
-
- ./manage.py generate_sites
-
To initialize the database, run:
./manage.py syncdb
-and to fetch the initial product details data, run:
+And to fetch the initial product details data, run:
./manage.py update_product_details
-Finally, to initialize the search index, run:
+finally, to initialize the search index, run:
./manage.py update_index
@@ -90,6 +83,17 @@ The Internet has plenty of of documentation on setting up a Django application
with any web server. If you need a wsgi entry point, you can find one in
``wsgi/reporter.wsgi``.
+### Sites data
+The "website_issues" database can use the same SQL-database as the "default".
+It is used to load aggregate website issues (generated by clustering) from a
+cron task. To initialize it, run:
+
+ ./manage.py syncdb --database=website_issues
+
+To generate site data yourself without getting it pushed from metrics, run
+
+ ./manage.py generate_sites
+
### Cron jobs
There are two jobs you want to run periodically:
Please sign in to comment.
Something went wrong with that request. Please try again.