1
0

fix copy path and add mailtrap

This commit is contained in:
Michael Schramm 2020-06-03 20:16:31 +02:00
parent 4927124913
commit f5e31b78aa
2 changed files with 11 additions and 7 deletions

View File

@ -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"

View File

@ -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