mirror of
https://github.com/status-im/codimd.git
synced 2025-01-27 18:24:54 +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
|
if [ ! -z "$DYNO" ]; then
|
||||||
# setup config files
|
# setup config files
|
||||||
cat << EOF > .sequelizerc
|
cp .sequelizerc.example .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
|
cat << EOF > config.json
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user