Question

Dokku and Forever. Can't to run index.js with Forever

  • Posted July 22, 2014

Hello!

I hava some problem with Dokku and Forever module for Nodejs.

According to this article (https://www.digitalocean.com/community/tutorials/how-to-host-multiple-node-js-applications-on-a-single-vps-with-nginx-forever-and-crontab) I must to navigate to my app’s folder (cd /path/to/your/node/app/) and run main .js file.

But I can’t to understand where index.js (my app’s main file) is. Where can I find this file?

P.S. I deploy my app with git push dokku master.

All the best, Ilya.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Dokku makes sure the app is running for you, so you don’t need to use tools like forever. You can run another app by pushing it to a different repo:

git remote add dokku dokku@dokku_server_domain:app_name
git push dokku master