diff options
author | David Mehren | 2021-03-06 17:31:11 +0100 |
---|---|---|
committer | GitHub | 2021-03-06 17:31:11 +0100 |
commit | d764b696dfd9edca2d8c6a6318344ddd6cd17a43 (patch) | |
tree | 190a4e03b5a15c77801ce1bc8ff7e10292c1adb7 /bin | |
parent | 4c9fc63884615f4b80ed54c438cdd64f76aa9ee8 (diff) | |
parent | 4e5ff6f075b631e35b879c136279d0bafeacfa5b (diff) |
Merge pull request #997 from hedgedoc/docs/remove_sequelizerc
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/heroku | 12 | ||||
-rwxr-xr-x | bin/setup | 7 |
2 files changed, 1 insertions, 18 deletions
@@ -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 { @@ -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 @@ -58,10 +54,9 @@ cat << EOF Edit the following config file to setup HedgeDoc server and client. -Read more info at https://github.com/hedgedoc/hedgedoc#configuration-files +Read more info at https://docs.hedgedoc.org/configuration/ * config.json -- HedgeDoc config -* .sequelizerc -- db config EOF # change directory back |