From 7dbccb9bd5b35b0b9c1e82fdebea7d483342b29f Mon Sep 17 00:00:00 2001 From: David Baldwynn Date: Thu, 30 Mar 2017 10:42:26 -0700 Subject: [PATCH] Added create admin script to app.json --- app.json | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/app.json b/app.json index d2f23dbc..92ba1435 100644 --- a/app.json +++ b/app.json @@ -28,9 +28,21 @@ "description": "Which mailer provider are you using? (i.e. SparkPost, Mandrill, etc)", "value": "Sparkpost", "required": true - } + }, + "ADMIN_EMAIL": { + "description": "Email of the default admin account", + "required": true + }, + "ADMIN_USERNAME": { + "description": "Username of the default admin account", + "required": true + }, + "ADMIN_USERNAME": { + "description": "Password of the default admin account", + "required": true + }, }, "scripts": { - "predeploy": "grunt build" + "predeploy": "grunt build; node scripts/create-admin.js", } }