Is there any linux scripts to for uploading nodejs app to myown linux server? Like appfog or heroku

Is there any linux scripts to for uploading nodejs app to myown linux server? Like appfog or heroku. I have dedicated linux server and working on linux too.

I want upload my nodejs application to server and restart nodejs with one shell command. I can write script, but maybe don't need to invent bycicle?

Popular choices using SSH:

For serious stuff you really should look at configuration management and server provisioning applications like (in no particular order):

Most revision control systems allows for "after/before-commit" hooks; sometimes I use these hooks to run tests before and automatically deploy to the acceptance environment after commits.

See also Jenkins CI (Continuous Integration is a hot topic).

I use fleet from substack to manage deployment. Fleet is a git-based tool that allows you to deploy code and manage your node processes running on remote servers.

Adding in seaport and either bouncy or node-http-proxy is a great way to build an application that is made up of lots of small components that work together.