Dhiraj Gophane
Dhiraj Gophane

Reputation: 1

How to get the .zip file created in heroku app?

I have created one app on heroku for Node.js. When I run the app, it creates extension.zip file. I need that file to put it as an Add on. How can I get this file from Heroku? Please help

Upvotes: 0

Views: 905

Answers (1)

Dan Kohn
Dan Kohn

Reputation: 34327

Your simplest strategy would be to set up an Express server, serve out a static directory, and save your zip file in there. Alternative, you can heroku run bash and then use scp on Heroku to copy the file to a different server. Of course, in production, you might want to consider using request or jsftp to upload the file from your server.

Upvotes: 1

Related Questions