fedora-infra / pkgdb2

Updated version of the Package Database
https://admin.fedoraproject.org/pkgdb/
GNU General Public License v2.0
23 stars 26 forks source link

Added Support for dev environment under Vagrant #387

Closed ryanlerch closed 8 years ago

ryanlerch commented 8 years ago

This adds a Vagrant file that allows a developer to quickly set up a dev environment of pkgdb2 using the infra db dump. It uses vagrant-libvirt and vagrantsshfs for file syncing.

Also in this change, added a new param in the runserver.py that allows the host to be set as a commandline param.

bowlofeggs commented 8 years ago

Looks good to me. I suggest writing up something in the README similar to what Bodhi has so people know how to get started.

ryanlerch commented 8 years ago

thanks for the feedback @bowlofeggs !

I have updated the README with some detailed instructions on getting started with the Vagrantfile.

pypingou commented 8 years ago

:+1: for me

bowlofeggs commented 8 years ago

You might consider switching the Vagrantfile to use Ansible. Here's an example of how I did that for Bodhi: https://github.com/fedora-infra/bodhi/pull/893