Commit graph

13 commits

Author SHA1 Message Date
David Mehren
86be1243f8
Ignore Postgres SSL errors on Heroku
The connection to Heroku's Postgres instances must use SSL,
 but not check the certificate.

 This adds the necessary configuration to the Heroku setup script.

Fixes #1245

Signed-off-by: David Mehren <git@herrmehren.de>
2021-05-07 21:43:06 +02:00
David Mehren
bf0a7ebee7
Remove .sequelizerc
After https://github.com/hedgedoc/hedgedoc/pull/969 was merged,
a separate configuration file for the sequelize-cli is no longer
required.

Signed-off-by: David Mehren <git@herrmehren.de>
2021-03-06 10:34:22 +01:00
Claudius
ebe67298fc heroku complains about dialect
Signed-off-by: Claudius <opensource@amenthes.de>
2020-01-11 23:51:52 +01:00
Claudius
5c607c4f80 cleanup of the heroku configuration
this removes the general `postinstall` call to `bin/heroku` and instead
puts it into a heroku-prebuild hook. At the same time, env vars get
updated to use the `CMD` prefix. The configured buildpacks were not used.
Finally, npm run build is now automatically
done by Heroku.

Signed-off-by: Claudius <opensource@amenthes.de>
2019-03-31 01:29:34 +01:00
Yukai Huang
1af3727fef Remove npm install in heroku build
since heroku detects yarn.lock automatically
2017-05-07 18:54:18 +08:00
Yukai Huang
1ed1996639 Remove config.js from setup files 2017-01-13 23:37:16 +08:00
bananaappletw
78c51e5e88 Revert "Rename npm script"
This reverts commit ed83dfc862.
2017-01-04 14:30:47 +08:00
bananaappletw
936d922442 Remove unnecessary db config of heroku 2016-12-22 15:28:44 +08:00
Yukai Huang
74c1da4536 Simplify output with sequelize database argument 2016-12-12 10:36:24 +08:00
Yukai Huang
50b72c7f03 Fix heroku production db setting 2016-12-12 08:58:37 +08:00
Yukai Huang
9e6fd505e1 Remove bower occurences 2016-12-11 11:18:08 +08:00
Yukai Huang
ed83dfc862 Rename npm script
webpack scripts are meant to “build” assets, so place them under the same namespace

* dev => build:dev
* build => build:prod
2016-12-10 22:12:07 +08:00
Yukai Huang
9f63581c61 Config heroku deployment 2016-10-16 11:20:29 +08:00