Herokuify Admin (#53)

* Create Procfile for Admin

* Add heroku-postbuild to build 'admin' before serving
This commit is contained in:
Daniel Ternyak 2019-01-10 14:01:26 -06:00 committed by GitHub
parent f6ba6e3dcb
commit 133ecd4d7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

1
admin/Procfile Normal file
View File

@ -0,0 +1 @@
web: yarn start

View File

@ -8,6 +8,7 @@
"dev": "cross-env NODE_ENV=development BACKEND_URL=http://localhost:5000 webpack-dev-server",
"lint": "tslint --project ./tsconfig.json --config ./tslint.json -e \"**/build/**\"",
"start": "NODE_ENV=production node ./server.js",
"heroku-postbuild": "yarn build",
"tsc": "tsc"
},
"husky": {