Search code examples
macosmeanjs

How to run existing meanjs project on mac pc?


I have two meanjs projects created on my mac pc using terminal command prompt. One is New1 and another is Old1. but when I run command 'grunt' on terminal then only newly created New1 is running.

I am new at meanjs development that's why I don't know how to run my old meanjs projects on mac pc.

Can anyone help me?


Solution

  • It depends in the generator/scaffolder that you used. But for yeoman based projects exists the convention of use:

    grunt serve: For development preview of the app with livereload.

    grunt test: For test running.

    grunt: For production build of the app.

    With Projects managed by Gulp task runner it is the same but replacing grunt command with gulp command.