how to deploy yeoman angular-fullstack project?

前端 未结 4 1110
梦毁少年i
梦毁少年i 2021-01-31 11:59

I want to deploy a simple angular projet made with angular fullstack.

https://github.com/DaftMonk/generator-angular-fullstack

I tried :

yo angula         


        
4条回答
  •  无人共我
    2021-01-31 12:41

    Also, if you're running a mongo db with a host you will need to change the /server/config/environment/production.js uri to match development.js and it should work.

    With MongoLab you have something to this effect: mongodb://user:pass@XXXXX.mongolab.com:XXXXX/yourdatabase

    then run the grunt serve:dist command in your app directory.

    This worked for me.

提交回复
热议问题