rename scripts

This commit is contained in:
davidwells 2018-06-11 18:10:17 -07:00
parent 4972623400
commit ccdaf7ba31
2 changed files with 65 additions and 0 deletions

14
_check-for-fauna-key.js Normal file
View file

@ -0,0 +1,14 @@
const chalk = require('chalk')
if (!process.env.FAUNADB_SECRET) {
console.log('Please set supply a faunaDB server key')
console.log(`
=========================
In your terminal run the following command
export FAUNADB_SECRET=abcYourKeyHere
=========================
`)
process.exit(1)
}