[katello-devel] Bootstrapping katello

David Davis daviddavis at redhat.com
Mon Oct 22 23:08:20 UTC 2012


Typically in Rails and Ruby projects, there's a boostrap rake task that'll take care of setting up the project so you can develop it and/or run it. I figured it might be worthwhile to set up something similar for Katello after some recent problems people have been experiencing. Not only will it appeal to Ruby/Rails developers but it might also make it easier for us to setup development instances of Katello. In addition, I think it might be easier to maintain than the wiki page and we could also allow for custom logic in the boostrap task in order to support different ways of setting up katello. To illustrate this last point, you could have some tasks like:

rake bootstrap
rake bootstrap:pulpv2
rake bootstrap:sam
(and so forth)

Anyway, I've worked on a rough draft (http://fpaste.org/HwRc/). The hope is that in order to setup a new project for development, one would just have to run:

git clone --recursive git at github.com:daviddavis/katello.git
cd katello/src
bundle install
rake bootstrap

Let me know what you all think. Thanks!

David




More information about the katello-devel mailing list