Re: Early Draft of Bugzilla Dev Setup
Gervase Markham <[email protected]> Fri, 13 May 2016 14:30:27 +0100
| Newsgroups | gmane.comp.bug-tracking.bugzilla.devel |
|---|---|
| Message-ID | <[email protected]> |
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-CzyLcWPZiU5YsZ3hbOqMTti2O/[email protected] https://lists.mozilla.org/listinfo/dev-apps-bugzilla - To view or change your list settings, click here: <http://bugzilla.org/cgi-bin/mj_wwwusr?user=gcbd-developers-Uylq5CNFT+jYtjvyW6yDsg@public.gmane.org>