I'm a beginner and I'm trying to deploy my nodeJS app, which works locally, on web. I'm using Jelastic cloud. I've create a environnement. Now when I want to deploy from local file, I must give a .zip file. My app file looks like that. I've tried to compress it in .gif and use this .gif. Jelastic said that deployment is a success but then he failed starting the server.
So I want to know if it is the good file to give and also I'm not sure of what should stand on the package.json (actually there is only the dependencies). In addition I'm not sure of which parameters I must give to server.listen on my server file.
I'll also be happy if you have any other advise to give.
Aucun commentaire:
Enregistrer un commentaire