Added create admin script to app.json
This commit is contained in:
parent
18bb453c50
commit
7dbccb9bd5
16
app.json
16
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",
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue