diff options
author | Yukai Huang | 2016-10-14 19:28:54 +0800 |
---|---|---|
committer | Yukai Huang | 2016-10-16 11:20:29 +0800 |
commit | 9f63581c61249703cb057547360782728b97e81e (patch) | |
tree | 2544bd01ad19f22daf62edeeb6947f8aa67d4144 /app.js | |
parent | 33d070e52d3b7792b50ac86c175e91f444027143 (diff) |
Config heroku deployment
Diffstat (limited to '')
-rw-r--r-- | app.json | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/app.json b/app.json new file mode 100644 index 00000000..2ed96935 --- /dev/null +++ b/app.json @@ -0,0 +1,33 @@ +{ + "name": "HackMD", + "description": "Realtime collaborative markdown notes on all platforms", + "keywords": [ + "Collaborative", + "Markdown", + "Notes" + ], + "website": "https://hackmd.io", + "repository": "https://github.com/hackmdio/hackmd", + "logo": "https://github.com/hackmdio/hackmd/raw/master/public/hackmd-icon-1024.png", + "success_url": "/", + "scripts": { + "postdeploy": "./node_modules/.bin/sequelize db:migrate" + }, + "env": { + "BUILD_ASSETS": { + "description": "Our build script variable", + "value": "true" + }, + "NPM_CONFIG_PRODUCTION": { + "description": "Let npm also install development build tool", + "value": "false" + }, + "DB_TYPE": { + "description": "Specify database type. See sequelize available databases. Default using postgres", + "value": "postgres" + } + }, + "addons": [ + "heroku-postgresql" + ] +} |