forked from absalomedia/prestashop-12-factor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.json
27 lines (27 loc) · 1.19 KB
/
app.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
"name": "Twelve-Factor Prestashop",
"description": "Prestashop, fully managed using Composer and configured using environment variables.",
"keywords": [
"php",
"prestashop",
"ecommerce",
"cart"
],
"website": "https://github.com/absalomedia/prestashop-12-factor",
"repository": "https://github.com/absalomedia/prestashop-12-factor",
"logo": "https://assets.prestashop2.com/en/system/files/filedepot/15/media_1_prestashop-logotype.png",
"success_url": "/",
"scripts": {
"postdeploy": "composer prestashop-setup-core && composer prestashop-db-core --title='Prestashop on Heroku' --domain=example.herokuapp.com --db_server= --db_name=prestashop --db_user=\"$PRESTASHOP_ADMIN_USER\" --db_password=\"$PRESTASHOP_ADMIN_PASSWORD\" --email=\"$PRESTASHOP_ADMIN_EMAIL\" && composer prestashop-setup-clean && composer prestashop-setup-welcome "
},
"env": {
"PRESTASHOP_ADMIN_EMAIL": { "description": "Prestashop Administrator E-Mail" },
"PRESTASHOP_ADMIN_USER": { "description": "Prestashop Administrator Username", "value": "admin" },
"PRESTASHOP_ADMIN_PASSWORD": { "description": "Prestashop Administrator Password" }
},
"addons": [
"jawsdb",
"sendgrid"
],
"image": "heroku/php"
}