Good evening. I have a nodejs client-server application, used by knex to communicate with the database (postgres). The project is stored on a githaba, with the help of it and secured it. When launched, it goes to the main page, and when it is registered and entered it drops. I did not do the migration, I just filled it with a gitkhub on Heroku. On the off site I saw bash commands for migration, but I can not figure out where to enter them. Tell me how to smdr in this case?
1 answer
You need to put the Heroku Toolbelt. And then in the command line, run the heroku run knex migrate:latest
- Did as you said, produced an error: Error connect ECONNREFUSED - Crok
- and did
heroku login? - Mikhail Vaysman - Yes, in the git console, I even uploaded the project again into the heroku branch - Crok
- do you connect through a proxy server? Are the HTTP_PROXY and / or HTTPS_POXY variables set? - Mikhail Vaysman
- No, the proxy did not touch - Crok
|