I like to run a grunt project in the server. I have purchased a theme for the project. This project is using grunt, angular, html node . I follow their instruction to run it in server.But “grunt bower-install-simple” this command is not working saying can not find module /array/collect .can not build the theme as well, using following command: “grunt build:standardversion” any idea how can i run this project continuously without any problem.I manage to run it temporary basis using npm start command. But If i close the ssh terminal it will stop. Folder location root-> assignment -> AngularJs-Admin
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!
Unfortunately without more information, it’s hard to answer the first part of you question. If you are able to provide the Gruntfile and the actual error messages, it would help with finding your solution.
For the second part, you’d need to use some sort of process manager to run you app as a system service. This can be done with via an you init system (e.g. Upstart or systemd). Another popular option is PM2, a process manager for node. This tutorial will walk you through setting up a node application for production using it:
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.