Configure parties oauth in deploy-examples

This commit is contained in:
Emily Stark
2014-06-09 15:27:17 -07:00
parent 76cb9bd36f
commit ef3eaa427a
2 changed files with 17 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
db.meteor_accounts_loginServiceConfiguration.insert({
"service" : "facebook",
"appId" : "137758583064594",
"secret" : "3915c1077d25e56fc6444498c6a7984d",
"_id" : "gjpDD9vwGw2tF45ww"
});
db.meteor_accounts_loginServiceConfiguration.insert({
"service" : "twitter",
"consumerKey" : "4HF4e0BhNRR7WwC9WqhRBLPRK",
"secret" : "VSzSnLU2W0dT64a9XGVqKhYo90yAu9pQIJ6McTtIRyRzVopHvT",
"_id" : "FCXK6RmNhKyhjSBQk"
});

View File

@@ -24,6 +24,7 @@ function cleanup {
echo "Logs can be found at $METEOR_ROOT/rainforestqa-deploy.log"
cp "$METEORSESSION_RESTORE" ~/.meteorsession
rm "$METEORSESSION_RESTORE"
rm -rf rainforestqa-tmp
}
trap cleanup EXIT
@@ -54,5 +55,7 @@ for EXAMPLE in $EXAMPLES ; do
done
# Configure OAuth on parties
echo "XXX" | meteor mongo $PREFIX-parties.meteor.com
cd .. # meteor root
echo -n "* Configuring OAuth for $PREFIX-parties.meteor.com... "
meteor --release $RELEASE mongo $PREFIX-parties.meteor.com >> $LOG 2>&1 < scripts/admin/configure_parties.js
echo DONE