mirror of
https://github.com/status-im/codimd.git
synced 2025-01-12 22:54:18 +00:00
fix: heroku .seqeulzierc file
Signed-off-by: BoHong Li <raccoon@hackmd.io>
This commit is contained in:
parent
5c9438697a
commit
109e751da8
12
bin/heroku
12
bin/heroku
@ -4,17 +4,7 @@ set -e
|
||||
|
||||
if [ ! -z "$DYNO" ]; then
|
||||
# setup config files
|
||||
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
|
||||
cp .sequelizerc.example .sequelizerc
|
||||
|
||||
cat << EOF > config.json
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user