mirror of https://github.com/kcal-app/kcal.git
Add demo data in `postdeploy`
This commit is contained in:
parent
c088beb78c
commit
bed872cd9f
2
app.json
2
app.json
|
@ -41,7 +41,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"postdeploy": "php artisan migrate --force && php artisan user:add kcal kcal --name=Admin"
|
"postdeploy": "composer require fakerphp/faker && php artisan migrate --force && php artisan db:seed"
|
||||||
},
|
},
|
||||||
"success_url": "/"
|
"success_url": "/"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue