Unverified Commit 5b2320f5 authored by BoHong Li's avatar BoHong Li
Browse files

Revert "fix heroku again"


Signed-off-by: default avatarBoHong Li <raccoon@hackmd.io>
parent 1cd4dce6
......@@ -4,16 +4,7 @@ set -e
if [ ! -z "$DYNO" ]; then
# setup config files
cat << EOF > .sequelizerc
const path = require('path')
const config = require('./lib/config')
module.exports = {
'migrations-path': path.resolve('lib', 'migrations'),
'models-path': path.resolve('lib', 'models'),
url: process.env['CMD_DB_URL'] || config.dbURL
}
EOF
cp .sequelizerc.example .sequelizerc
cat << EOF > config.json
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment