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IzxgFq/FuPqjefp/Nj/BRxOrj2yXFD/TCeaR/iKTXej2MZIRu
-GBZZsMR/sLDFgrmIleMm/AtMkH2xOGvFkN/hlQKBgAyDD/Jg4gKyMQTJqGAJmwWa
-V8+gG6DItX5NGoLLZQbKbY5UJM+OMWL2sjxMFikSvQLL4w0XKu6+pnv6872p5ng7
-NlHk/G39MFQ22/VmAWzN5vNh4vRZ5O9gBRcSUoBXLGSQiRjAlmEQ7BQqpvW3cGcz
-46cAIdiG6O0wYmCRS1BrAoGAaL8/FYds7hRZ0RwnzvKars38XHZ2RaEtoXpybj05
-4DlQQhZ+68mg0LP2ZY7gl5AeV8F8/DBXcV9b6ArVlQtD/TdOLs102ZyRXHuipDtl
-pmVFmcEpXgg0u8mHzI9qt/W5QOM8yufQ+u0x20TtMmB8rKTbOJ7hPVGfujpGDdV6
-dAMCgYBVomBQiagzySdfS4PSxET0s7EIDByPJCXRf1vaI1xbFGgdYVsgb+8X6ZJA
-HcAEf39Y3DFUBJFAt/Lr+VZJyuI4HYzwcKyPvEivNUgggivHRaDOsL2YT7vQbJ5t
-5NXgxVNO7IKtoBZeqkbdbUE02XXsO3ybxeQfiNz62wxuveE89g==
------END RSA PRIVATE KEY-----
-FIN
-chmod 700 .ssh/id_rsa
-
rm -rf fc
-git clone git@github.com:sleeplessinc/fc.git
+git clone git@github.com:finalsclubdev/FinalsClub.git
cd fc
-git checkout dev
+git checkout master
git submodule init && git submodule update
npm install
cd etherpad-lite
npm install
-cd ..
-cp settings.json etherpad-lite
-
-cd ../bruml
-npm install socket.io
-## mongorestore -d fc ./dump/fc_dev
## init fcbackup
cd
-ln -sf fc/bruml/log.txt b.log
-ln -sf fc/etherpad-lite/node/log.txt e.log
./restart.sh