Report this

What is the reason for this report?

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

Posted on 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.



This textbox defaults to using Markdown to format your 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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.