From 948e9d1e8c1ed5046bcd8d65e848076cbe2dd5ce Mon Sep 17 00:00:00 2001 From: franck cuny Date: Thu, 17 Feb 2011 16:48:16 +0100 Subject: update --- index.html | 122 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 61 insertions(+), 61 deletions(-) (limited to 'index.html') diff --git a/index.html b/index.html index e805f2b..528193d 100644 --- a/index.html +++ b/index.html @@ -6,27 +6,41 @@ franckcuny/jitterbug @ GitHub @@ -49,59 +63,45 @@ small smoker for Perl projects hosted on github -

Jitterbug is written in Perl 5 and depends on various CPAN modules, such as Dancer, DBIx::Class and Git::Repository. -

Dependencies

-

YAML -Dancer -XML::Feed -DateTime -JSON -Git::Repository -Dancer::Template::XSlate -Dancer::Plugin::DBIC -DBIx::Class -SQL::Translator -Digest::MD5 -App::perlbrew -Dist::Zilla -Email::Stuff -

-

Install

-

perl Build.PL - -# You can also use Makefile.PL, but you will then have to manually -# install dependencies -# perl Makefile.PL - -# install missing dependencies -./Build installdeps - -# start the jitterbug Dancer app, which by default binds to port 3000 -perl jitterbug.pl - -# If you need to start it on a different port use -p -# perl jitterbug.pl -p 3001 - -In another terminal, deploy a DBIx::Class schema ( which is SQLite by default, -change the values in config.yml to tweak) : - -perl scripts/jitterbug_db --config config.yml --deploy - -Now add a post-receive hook to your github project that hits the /hook/ URL -on the server that the jitterbug Dancer app is running on, i.e. - http://example.com:3001/hook/ - -Now you must start the builder, which actually clones a new git repo for -each task (this could be network-intensive) and actually runs the build -and test commands for each project. - - perl scripts/builder.pl -c config.yml - -Now, when you commit to a project that has a Jitterbug post-receive hook, -the builder check every 30 seconds for a new task and build and test your -projects! - - +

Jitterbug is written in Perl 5 and depends on various CPAN modules, such as Dancer, DBIx::Class and Git::Repository. + +

Install

+
perl Build.PL
+
+# You can also use Makefile.PL, but you will then have to manually 
+# install dependencies
+# perl Makefile.PL
+
+# install missing dependencies
+./Build installdeps
+
+# start the jitterbug Dancer app, which by default binds to port 3000
+perl jitterbug.pl
+
+# If you need to start it on a different port use -p
+# perl jitterbug.pl -p 3001
+
+
+In another terminal, deploy a DBIx::Class schema ( which is SQLite by default, +change the values in config.yml to tweak) : + +
perl scripts/jitterbug_db --config config.yml --deploy
+ +Now add a post-receive hook to your github project that hits the /hook/ URL +on the server that the jitterbug Dancer app is running on, i.e. + +
http://example.com:3001/hook/
+ +Now you must start the builder, which actually clones a new git repo for +each task (this could be network-intensive) and actually runs the build +and test commands for each project. + +
perl scripts/builder.pl -c config.yml
+ +Now, when you commit to a project that has a Jitterbug post-receive hook, +the builder check every 30 seconds for a new task and build and test your +projects! +

License

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

-- cgit v1.2.3