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

Posted July 22, 2014 2.7k views


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

According to this article ( 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.

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.

Submit an Answer
1 answer

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