setup to control production db from local app

This commit is contained in:
Arjun Patel
2019-04-13 15:11:07 -07:00
parent 9ed96806fb
commit c670f506ac
4 changed files with 22 additions and 1 deletions
+4
View File
@@ -0,0 +1,4 @@
To run different npm scripts from package.json in heroku application itself:
1. `heroku login`
2. `heroku run npm run drop:local -a {heroku_app_name}`
Note: you may have to also run `npm install` within the application to get some packages to run other scripts.