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!
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.