fix copy path and add mailtrap
This commit is contained in:
parent
4927124913
commit
f5e31b78aa
16
app.json
16
app.json
@ -3,7 +3,10 @@
|
||||
"description": "Opensource alternative to TypeForm",
|
||||
"repository": "https://github.com/ohmyform/ohmyform",
|
||||
"logo": "https://raw.githubusercontent.com/ohmyform/ohmyform/master/public/logo.png",
|
||||
"keywords": ["form", "survey"],
|
||||
"keywords": [
|
||||
"form",
|
||||
"survey"
|
||||
],
|
||||
"env": {
|
||||
"BASE_URL": {
|
||||
"description": "Domain name where the site will be hosted",
|
||||
@ -11,7 +14,7 @@
|
||||
},
|
||||
"MAILER_URI": {
|
||||
"description": "Set this to a uri like smtp://localhost:1025 - for more information check https://nodemailer.com/",
|
||||
"value": ""
|
||||
"value": "smtp://smtp.mailtrap.io:2525"
|
||||
},
|
||||
"MAILER_FROM": {
|
||||
"description": "Email address from which signup/verifications are sent",
|
||||
@ -45,11 +48,12 @@
|
||||
"description": "Allow Dev Dependencies so we can compile typescript",
|
||||
"value": "false"
|
||||
}
|
||||
},
|
||||
},
|
||||
"addons": [
|
||||
"mongolab",
|
||||
"heroku-redis"
|
||||
],
|
||||
"mongolab",
|
||||
"heroku-redis",
|
||||
"mailtrap"
|
||||
],
|
||||
"buildpacks": [
|
||||
{
|
||||
"url": "heroku/nodejs"
|
||||
|
@ -3,7 +3,7 @@ echo "Build and Export UI"
|
||||
yarn --cwd ui export
|
||||
|
||||
echo "Copy Exported UI to API"
|
||||
cp -r ui/out/ api/public/
|
||||
cp -r ui/out/* api/public/
|
||||
|
||||
echo "Build API"
|
||||
yarn --cwd api build
|
||||
|
Loading…
Reference in New Issue
Block a user