Early Draft of Bugzilla Dev Setup
Gervase Markham
gerv at mozilla.org
Fri May 13 13:30:27 UTC 2016
On 13/05/16 03:28, Dylan Hardison wrote:
> This post has been rattling around in my head for a bit.
> Eventually it needs to end up in docs.
>
> http://dylanwh.tumblr.com/post/144277013247/developing-bugzilla-with-plackup-and-cpanminus
Awesome! How can we make it even simpler? Ideas:
* Add a "--dev" flag to checksetup.pl which does the following:
** Implies "--cpanm"
** implies SQlite, and so requires checksetup to be run only once
** Defaults login name to unix username
** defaults password to login name
** Gets realname and email from Git identity, if set, otherwise
realname from /etc/passwd
** Tells you all this
* Add a ./bugzilla script to the root dir which does
perl -Ilocal/lib/perl5 bin/plackup -R . app.psgi
and, if not already true, auto-edits the params to have the right
urlbase. It might even auto-start a browser on the URL.
So then to install and run Bugzilla, you do:
$ sudo apt-get install git perl-modules build-essential cpanminus
$ git clone https://github.com/bugzilla/bugzilla
$ cd bugzilla
$ ./checksetup.pl --dev
$ ./bugzilla
Gerv
_______________________________________________
dev-apps-bugzilla mailing list
dev-apps-bugzilla at lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-apps-bugzilla
More information about the developers
mailing list