Merge lp:~mhall119/ubuntu-webcatalog/add-readme into lp:ubuntu-webcatalog

Proposed by Michael Hall
Status: Merged
Approved by: Anthony Lenton
Approved revision: 136
Merged at revision: 137
Proposed branch: lp:~mhall119/ubuntu-webcatalog/add-readme
Merge into: lp:ubuntu-webcatalog
Diff against target: 37 lines (+33/-0)
1 file modified
README (+33/-0)
To merge this branch: bzr merge lp:~mhall119/ubuntu-webcatalog/add-readme
Reviewer Review Type Date Requested Status
Anthony Lenton (community) Approve
Review via email: mp+109152@code.launchpad.net

Commit message

Adds a README with instructions for importing app and review data into a local database

Description of the change

Adds a README with instructions for importing app and review data into a local database

To post a comment you must log in.
Revision history for this message
Anthony Lenton (elachuni) wrote :

Thanks Michael!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'README'
2--- README 1970-01-01 00:00:00 +0000
3+++ README 2012-06-07 14:00:45 +0000
4@@ -0,0 +1,33 @@
5+##################################################
6+Use the following commands to import data into
7+your local or testing database:
8+
9+To import application data:
10+
11+ fab "manage:import_app_install_data precise"
12+
13+To import live ratings and reviews:
14+
15+ fab "manage:import_ratings_stats precise"
16+
17+To import commercial app data:
18+
19+ fab manage:import_for_purchase_apps
20+
21+To import the banner ads:
22+
23+ fab manage:import_exhibits
24+
25+Finally, after you do all your imports:
26+
27+ fab manage:check_all_latest
28+
29+##################################################
30+
31+By default the above will import from the Software
32+Center Agent staging database. In order to pull
33+production data, you must first add the following
34+to django_project/local.cfg:
35+
36+[webcatalog]
37+sca_api_url = https://software-center.ubuntu.com/api/2.0/

Subscribers

People subscribed via source and target branches