Rake vs. Thor for automation scripts?

前端 未结 4 1385
暖寄归人
暖寄归人 2020-12-23 02:15

I want to automate things like:

  • Creating a new Ruby on Rails application with pre-selected database, Git initialize it, create a Heroku project, commit all fil
4条回答
  •  情深已故
    2020-12-23 03:01

    For setting up Ubuntu chores, Chef might be a better option.

    From their web site:

    Chef is an open source systems integration framework, built to bring the benefits of server configuration management to your entire infrastructure.

    It's written in Ruby and there are tons of Chef recipes/cookbooks. Chef will handle setting up Ubuntu and installing packages, servers, etc.

    I don't know if you are working with virtual machines, but Vagrant will set up a virtual machine and then use Chef to configure it.

提交回复
热议问题