mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Configure parties oauth in deploy-examples
This commit is contained in:
12
scripts/admin/configure_parties.js
Normal file
12
scripts/admin/configure_parties.js
Normal 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"
|
||||
});
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user