R
R
Root_men2017-02-03 20:35:02
Node.js
Root_men, 2017-02-03 20:35:02

How to run a remote project?

In general, there is server 1 and server 2. Node js (windows) is installed on one, and the project needs to be launched on the second. How to run a project from the 1st server?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Yarkov, 2017-02-03
@Root_men

$ ssh -t [email protected] 'cd path/to/app; npm run;'

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question