Browse files

Fixed DB name for import

  • Loading branch information...
1 parent 57863e4 commit 854fe4703b60333d97f029b783af21ff8035efbe @thesteve0 thesteve0 committed Dec 2, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2
@@ -31,13 +31,13 @@ Now, ssh into the application.
Add the data to a collection called parkpoints:
- mongoimport -d parks -c parkpoints --type json --file $OPENSHIFT_REPO_DIR/parkcoord.json -h $OPENSHIFT_MONGODB_DB_HOST -u admin -p $OPENSHIFT_MONGODB_DB_PASSWORD
+ mongoimport -d pythonws -c parkpoints --type json --file $OPENSHIFT_REPO_DIR/parkcoord.json -h $OPENSHIFT_MONGODB_DB_HOST -u admin -p $OPENSHIFT_MONGODB_DB_PASSWORD
Create the spatial index on the documents:
- use parks
+ use pythonws
db.parkpoints.ensureIndex( { pos : "2d" } );
Once the data is imported you can now checkout your application at:

0 comments on commit 854fe47

Please sign in to comment.