jackyalciné

Need a hand with tech consulting? I can help!
Learn more about how we can work via black.af .

The ecosystems of the world are dying.
Reduce your :pig::chicken: meat and :cow::goat: dairy intake to help the environment :seedling: .

This site is in the process of moving to Koype. You can view my instance at v2.jacky.wtf.

Kickstarting Bugzilla with Plack: a PSGI Solution

As mentioned in my landing post, I’m quite the fan of Bugzilla. It powers bug tracking for Firefox, KDE, Eclipse and a lot of other awesome tools out there. Being that Perl is also my first web friendly language and most acquainted one, I decided to provide a post on how to get Bugzilla up and running by using Plack.

:pencil: by Jacky Alciné Jacky Alciné :book: an projects post :bookmark: psgi , perl , plack , tutorial , bugzilla :clock7: written :eyeglasses: about 1 minute, 310 words :link: Comments - 0 Mention(s) - Permalink

As mentioned in my landing post, I’m quite the fan of Bugzilla. It powers bug tracking for Firefox, KDE, Eclipse and a lot of other awesome tools out there. Being that Perl is also my first web friendly language and most acquainted one, I decided to provide a post on how to get Bugzilla up and running by using Plack.

For those coming from a Ruby background, Plack is the Perl equivalent for Rack. This allows for direct embedded into other web serves like Apache or Nginx or stand alone uses in a different implementation; the best of both worlds.

Grab the Source

First things first, you’ll have to grab a copy of Bugzilla’s source code from their website. They store all of their code in Bazaar, so you should have a client set up before preceding. The following code snippets would get you a stable copy of Bugzilla 4.2.

$ bzr co bzr://bzr.mozilla.org/bugzilla/4.2

At this time, the installation of Bugzilla is completely up to you. However, I’d noticed that I was not able to get Bugzilla to start without running ./install-module.pl --all.

After that, you’ll want to grab this snippet of code that Gurunandan Bhat made available on GitHub to run Bugzilla in a local installation.

Copy the code above into the newly branched directory of Bugzilla’s code. Now you can get the show on the road!

Kicking up Plack

Plack is a useful tool, and it’s easy to grab if you have cpanm installed. Once you have those files, you’re ready to start up Bugzilla.

$ plackup --host=127.0.0.1 --environment=production

That’s all there this to it! You now have Bugzilla up and running via Plack.

Need a hand with tech consulting? I can help!
Learn more about how we can work via black.af .

The ecosystems of the world are dying.
Reduce your :pig::chicken: meat and :cow::goat: dairy intake to help the environment :seedling: .

This site is in the process of moving to Koype. You can view my instance at v2.jacky.wtf.