summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDavid Mehren2021-03-06 10:34:22 +0100
committerDavid Mehren2021-03-06 10:34:22 +0100
commitbf0a7ebee72404eb7bce918f41162126bca24bf0 (patch)
treef76e14f0cdd148485386dfe527ace7373a8b8c6a /bin
parent4c9fc63884615f4b80ed54c438cdd64f76aa9ee8 (diff)
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>
Diffstat (limited to '')
-rwxr-xr-xbin/heroku12
-rwxr-xr-xbin/setup5
2 files changed, 0 insertions, 17 deletions
diff --git a/bin/heroku b/bin/heroku
index c5ca1f8a..908ea4eb 100755
--- a/bin/heroku
+++ b/bin/heroku
@@ -2,18 +2,6 @@
set -e
-cat << EOF > .sequelizerc
-var path = require('path');
-
-module.exports = {
- 'config': path.resolve('config.json'),
- 'migrations-path': path.resolve('lib', 'migrations'),
- 'models-path': path.resolve('lib', 'models'),
- 'url': process.env.DATABASE_URL
-}
-
-EOF
-
cat << EOF > config.json
{
diff --git a/bin/setup b/bin/setup
index 0f1edca0..9b673f71 100755
--- a/bin/setup
+++ b/bin/setup
@@ -46,10 +46,6 @@ if [ ! -f config.json ]; then
cp config.json.example config.json
fi
-if [ ! -f .sequelizerc ]; then
- cp .sequelizerc.example .sequelizerc
-fi
-
echo "Installing packages..."
yarn install --pure-lockfile
yarn install --production=false --pure-lockfile
@@ -61,7 +57,6 @@ Edit the following config file to setup HedgeDoc server and client.
Read more info at https://github.com/hedgedoc/hedgedoc#configuration-files
* config.json -- HedgeDoc config
-* .sequelizerc -- db config
EOF
# change directory back