• 欢迎订阅我的Youtube频道
  • 欢迎加入我的电报群

Get your dev env ready in a second

Uncategorized fennng 2年前 (2018-02-13) 648次浏览 0个评论
I have been using cmder for quite a while. But I never setup task group before. Before I start my development, I need to start the API backend, the database server, and the front end service. It doesn' t take a lot of time. But it requires me to think about what commands to run every time. 
Setting up cmder to automatically start the env is not hard. 
Here is how you do it.
Inline image 3
cmd /k "%ConEmuDir%..init.bat && docker start mongo mongo-exp "  -new_console:d:%userprofile%

cmd /k "%ConEmuDir%..init.bat && dotnet run"  -new_console:d:c:UsersdengygitLocalamoeba-apiAmoebaAPI

cmd /k "%ConEmuDir%..init.bat && ng serve"  -new_console:d:c:UsersdengygitLocaltarantulaTarantula
Inline image 2
​​


峰享技术 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:Get your dev env ready in a second
喜欢 (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址