Rake vs. Thor for automation scripts?

前端 未结 4 1359
暖寄归人
暖寄归人 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:14

    There is something important to mention here.

    http://guides.rubyonrails.org/generators.html in its section 8 Application Templates.

    You can execute git commands, select gems, capify project.

    And you could also execute system commands to satisfy your last point: Upgrade Ubuntu, install all basic packages through apt-get.

提交回复
热议问题