Find logs in a certain period (e.g.from 2am to 2.05am). Remember that times are in UTC.
now logs --since 2018-08-28T02:00:00.000Z --until 2018-08-28T02:05:00.000Z
Backup external mongodb
mongodump -h <SHARD_0>,<SHARD_1>,<SHARD_2> --ssl -u <DB_USER> -p <DB_PASSWORD>
Restore to local
mongorestore -d --drop
defaults write -g ApplePressAndHoldEnabled -bool false
defaults write -g KeyRepeat -int 1
defaults write -g InitialKeyRepeat -int 9
Run each of the following lines, replacing yourdomain.com and codehere with your details:
now dns add yourdomain.com @ TXT google-site-verification=codehere // optional if domain already in GSuite
now dns add yourdomain.com @ MX ASPMX.L.GOOGLE.COM 1
now dns add yourdomain.com @ MX ALT1.ASPMX.L.GOOGLE.COM 5
now dns add yourdomain.com @ MX ALT2.ASPMX.L.GOOGLE.COM 5
now dns add yourdomain.com @ MX ALT3.ASPMX.L.GOOGLE.COM 10
now dns add yourdomain.com @ MX ALT4.ASPMX.L.GOOGLE.COM 10
now dns add yourdomain.com @ TXT "v=spf1 include:_spf.google.com ~all"
npm loginnpm token create --read-onlytouch .npmrcecho "//registry.npmjs.org/:_authToken=<MY_AUTH_TOKEN>" >> .npmrc- Deploy to Vercel with
NPM_TOKENin thenow.jsonfile @link: https://vercel.com/docs/runtimes#advanced-usage/advanced-node-js-usage/private-npm-modules-for-node-js