-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
29 changed files
with
57 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
First you need to spin up meteor. | ||
|
||
Then if you run | ||
|
||
meteor mongo | ||
|
||
you will get an output something like this: | ||
|
||
MongoDB shell version: 2.2.1 | ||
connecting to: 127.0.0.1:3001/meteor | ||
|
||
Meteor db host is at 127.0.0.1 with a port of 3001. | ||
|
||
Exit the mongo shell and use mongodump from your terminal. | ||
|
||
mongodump -h 127.0.0.1 --port 3001 -d meteor | ||
|
||
Restore your database to mlab: | ||
|
||
mongorestore -h ds113445.mlab.com:13445 -d myclassgame -u <user> -p <password> dump/meteor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"options":{},"indexes":[{"v":1,"key":{"_id":1},"name":"_id_","ns":"meteor.badges"}]} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"options":{},"indexes":[{"v":1,"key":{"_id":1},"name":"_id_","ns":"meteor.behaviours"}]} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"options":{},"indexes":[{"v":1,"key":{"_id":1},"name":"_id_","ns":"meteor.behavioursLog"}]} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"options":{},"indexes":[{"v":1,"key":{"_id":1},"name":"_id_","ns":"meteor.classes"}]} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"options":{},"indexes":[{"v":1,"key":{"_id":1},"name":"_id_","ns":"meteor.convictions"}]} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"options":{},"indexes":[{"v":1,"key":{"_id":1},"name":"_id_","ns":"meteor.groups"}]} |
Binary file not shown.
1 change: 1 addition & 0 deletions
1
dump/meteor/meteor_accounts_loginServiceConfiguration.metadata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"options":{},"indexes":[{"v":1,"key":{"_id":1},"name":"_id_","ns":"meteor.meteor_accounts_loginServiceConfiguration"},{"v":1,"unique":true,"key":{"service":1},"name":"service_1","ns":"meteor.meteor_accounts_loginServiceConfiguration"}]} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"options":{},"indexes":[{"v":1,"key":{"_id":1},"name":"_id_","ns":"meteor.meteor_oauth_pendingCredentials"},{"v":1,"unique":true,"key":{"key":1},"name":"key_1","ns":"meteor.meteor_oauth_pendingCredentials"},{"v":1,"key":{"credentialSecret":1},"name":"credentialSecret_1","ns":"meteor.meteor_oauth_pendingCredentials"},{"v":1,"key":{"createdAt":1},"name":"createdAt_1","ns":"meteor.meteor_oauth_pendingCredentials"}]} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"options":{},"indexes":[{"v":1,"key":{"_id":1},"name":"_id_","ns":"meteor.randomEvents"}]} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"options":{},"indexes":[{"v":1,"key":{"_id":1},"name":"_id_","ns":"meteor.store"}]} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"options":{},"indexes":[{"v":1,"key":{"_id":1},"name":"_id_","ns":"meteor.students"}]} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"options":{},"indexes":[{"v":1,"key":{"_id":1},"name":"_id_","ns":"meteor.users"},{"v":1,"unique":true,"key":{"username":1},"name":"username_1","ns":"meteor.users","sparse":1},{"v":1,"unique":true,"key":{"emails.address":1},"name":"emails.address_1","ns":"meteor.users","sparse":1},{"v":1,"unique":true,"key":{"services.resume.loginTokens.hashedToken":1},"name":"services.resume.loginTokens.hashedToken_1","ns":"meteor.users","sparse":1},{"v":1,"unique":true,"key":{"services.resume.loginTokens.token":1},"name":"services.resume.loginTokens.token_1","ns":"meteor.users","sparse":1},{"v":1,"key":{"services.resume.haveLoginTokensToDelete":1},"name":"services.resume.haveLoginTokensToDelete_1","ns":"meteor.users","sparse":1},{"v":1,"key":{"services.resume.loginTokens.when":1},"name":"services.resume.loginTokens.when_1","ns":"meteor.users","sparse":1},{"v":1,"unique":true,"key":{"services.email.verificationTokens.token":1},"name":"services.email.verificationTokens.token_1","ns":"meteor.users","sparse":1},{"v":1,"unique":true,"key":{"services.password.reset.token":1},"name":"services.password.reset.token_1","ns":"meteor.users","sparse":1},{"v":1,"unique":true,"key":{"services.google.id":1},"name":"services.google.id_1","ns":"meteor.users","sparse":1}]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
https://docs.mongodb.com/master/tutorial/install-mongodb-on-ubuntu/ | ||
|
||
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5 | ||
echo "deb [ arch=amd64 ] http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/testing multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.6.list | ||
sudo apt-get update | ||
sudo apt-get install -y mongodb-org |