What is the different between using StrongLoop's “slc run” and “node app.js”

前端 未结 6 891
死守一世寂寞
死守一世寂寞 2021-01-06 05:31

I\'m working through the StrongLoop\'s getting started instructions and created my sample app. Whilst the instructions tell me to use:

slc run .
6条回答
  •  轮回少年
    2021-01-06 06:20

    You can do more with slc than node app.js.

    slc is a command line tool for StrongLoop, which has more features. If you just want to run the app, it doesn't matter much, but if you want to do more, you can.

    Here's the documentation: http://docs.strongloop.com/display/SLC/StrongLoop+Controller

    It doesn't have much features for development (such as auto restart and such), but it will help with managing servers and what not.

提交回复
热议问题