Importing a data snapshot: Difference between revisions

From OpenHatch wiki
Content added Content deleted
imported>Paulproteus
(Created page with 'Category:Hacking_OpenHatch')
 
imported>Paulproteus
No edit summary
Line 1: Line 1:
When you get your own instance of the OpenHatch code running, you'll discover you're missing the ''data'' that are on the main OpenHatch site. So we take periodic snapshots of the data on the main openhatch.org site.

== Where you can find the snapshots ==

* FIXME

== How to use a snapshot ==

To load a snapshot into your database, you can run this command from your local install:

./bin/mysite loaddata ''snapshot.json''

You can test that it worked by loading up your local people page and the live one. You should see about the same number of people. Click on these things:
* http://openhatch.org/people/
* http://127.0.0.1:8000/people/


[[Category:Hacking_OpenHatch]]
[[Category:Hacking_OpenHatch]]

Revision as of 23:08, 31 October 2010

When you get your own instance of the OpenHatch code running, you'll discover you're missing the data that are on the main OpenHatch site. So we take periodic snapshots of the data on the main openhatch.org site.

Where you can find the snapshots

  • FIXME

How to use a snapshot

To load a snapshot into your database, you can run this command from your local install:

./bin/mysite loaddata snapshot.json

You can test that it worked by loading up your local people page and the live one. You should see about the same number of people. Click on these things: