Dancer + bootstrap + font-awesome template
Hello Dancers, I recently found myself starting couple of Dancer applications from scratch, and every time had to go through the same motions: Enable Template::Toolkit, update JQuery, add Twitter's Bootstrap, add Font-Awesome, update layout, etc. So I created a new template - perhaps other interested parties can use it to start dancing even faster. It starts a template just like "dancer -a", but with bootstrap + font-awesome already integrated (and two script to easily upgrade both). See it here: http://cowbell.cancan.cshl.edu/ https://github.com/agordon/dancer_bootstrap_fontawesome_template Comments are welcomed. -gordon
On Thu, May 24, 2012 at 10:44:07PM -0400, Assaf Gordon wrote:
I recently found myself starting couple of Dancer applications from scratch, and every time had to go through the same motions: Enable Template::Toolkit, update JQuery, add Twitter's Bootstrap, add Font-Awesome, update layout, etc.
So I created a new template - perhaps other interested parties can use it to start dancing even faster.
It starts a template just like "dancer -a", but with bootstrap + font-awesome already integrated (and two script to easily upgrade both).
See it here: http://cowbell.cancan.cshl.edu/ https://github.com/agordon/dancer_bootstrap_fontawesome_template
Comments are welcomed.
Freaking awesome-ah! ~ Italian school girls practicing their English on the flight from Milan to Atlanta, Great README May I suggest: diff --git a/index.tt b/index.tt index 895be06..a340bea 100644 --- a/index.tt +++ b/index.tt @@ -115,7 +115,8 @@ <pre> $ wget -O dancer.zip https://github.com/agordon/dancer_bootstrap_fontawesome_template/zipball/mas... $ unzip dancer.zip -$ cd agordon-dancer_bootstrap_fontawesome_template-* +$ ln -s agordon-dancer_bootstrap_fontawesome_template-* more_cowbell +$ cd more_cowbell $ ./bin/update_bootstrap $ ./bin/update_fontawesome $ ./bin/app.pl -- Michael Rasmussen, Portland Oregon Other Adventures: http://www.jamhome.us/ or http://westy.saunter.us/ Fortune Cookie Fortune du courrier: In general, they do what you want, unless you want consistency. ~ Larry Wall
That looks just awesome ! We need to have dancer -a be flexible and allow to generate different kind of application On 25 May 2012 04:44, Assaf Gordon <gordon@cshl.edu> wrote:
Hello Dancers,
I recently found myself starting couple of Dancer applications from scratch, and every time had to go through the same motions: Enable Template::Toolkit, update JQuery, add Twitter's Bootstrap, add Font-Awesome, update layout, etc.
So I created a new template - perhaps other interested parties can use it to start dancing even faster.
It starts a template just like "dancer -a", but with bootstrap + font-awesome already integrated (and two script to easily upgrade both).
See it here: http://cowbell.cancan.cshl.edu/ https://github.com/agordon/dancer_bootstrap_fontawesome_template
Comments are welcomed. -gordon
_______________________________________________ Dancer-users mailing list Dancer-users@perldancer.org http://www.backup-manager.org/cgi-bin/listinfo/dancer-users
Perhaps an ideal way of doing this would be to define some sort of configuration file which should be used as input of dancer -a. In it would be defined the kind of commands needed to do the stuff that gordon's script (which is a great idea btw) does. Steph 2012/5/25 damien krotkine <dkrotkine@gmail.com>
That looks just awesome !
We need to have dancer -a be flexible and allow to generate different kind of application
On 25 May 2012 04:44, Assaf Gordon <gordon@cshl.edu> wrote:
Hello Dancers,
I recently found myself starting couple of Dancer applications from scratch, and every time had to go through the same motions: Enable Template::Toolkit, update JQuery, add Twitter's Bootstrap, add Font-Awesome, update layout, etc.
So I created a new template - perhaps other interested parties can use it to start dancing even faster.
It starts a template just like "dancer -a", but with bootstrap + font-awesome already integrated (and two script to easily upgrade both).
See it here: http://cowbell.cancan.cshl.edu/ https://github.com/agordon/dancer_bootstrap_fontawesome_template
Comments are welcomed. -gordon
_______________________________________________ Dancer-users mailing list Dancer-users@perldancer.org http://www.backup-manager.org/cgi-bin/listinfo/dancer-users
Dancer-users mailing list Dancer-users@perldancer.org http://www.backup-manager.org/cgi-bin/listinfo/dancer-users
Someone had an idea to support something like: dancer -a myapp --layout Bootstrap That would somehow use the third party module Dancer::Layout::Bootstrap to generate the layout file. See: https://github.com/Corion/dancer-layout-bootstrap Another thing we could do is just support it in the core via: dancer -a myapp --layout bootstrap Though this approach is not as flexible. -Naveed On Fri, May 25, 2012 at 4:28 AM, Stéphane Wenric <s.wenric@gmail.com> wrote:
Perhaps an ideal way of doing this would be to define some sort of configuration file which should be used as input of dancer -a. In it would be defined the kind of commands needed to do the stuff that gordon's script (which is a great idea btw) does.
Steph
2012/5/25 damien krotkine <dkrotkine@gmail.com>
That looks just awesome !
We need to have dancer -a be flexible and allow to generate different kind of application
On 25 May 2012 04:44, Assaf Gordon <gordon@cshl.edu> wrote:
Hello Dancers,
I recently found myself starting couple of Dancer applications from scratch, and every time had to go through the same motions: Enable Template::Toolkit, update JQuery, add Twitter's Bootstrap, add Font-Awesome, update layout, etc.
So I created a new template - perhaps other interested parties can use it to start dancing even faster.
It starts a template just like "dancer -a", but with bootstrap + font-awesome already integrated (and two script to easily upgrade both).
See it here: http://cowbell.cancan.cshl.edu/ https://github.com/agordon/dancer_bootstrap_fontawesome_template
Comments are welcomed. -gordon
_______________________________________________ Dancer-users mailing list Dancer-users@perldancer.org http://www.backup-manager.org/cgi-bin/listinfo/dancer-users
Dancer-users mailing list Dancer-users@perldancer.org http://www.backup-manager.org/cgi-bin/listinfo/dancer-users
_______________________________________________ Dancer-users mailing list Dancer-users@perldancer.org http://www.backup-manager.org/cgi-bin/listinfo/dancer-users
On 25 May 2012 10:34, Naveed Massjouni <naveedm9@gmail.com> wrote:
Someone had an idea to support something like: dancer -a myapp --layout Bootstrap That would somehow use the third party module Dancer::Layout::Bootstrap to generate the layout file. See: https://github.com/Corion/dancer-layout-bootstrap
Ah yes. This needs integrating and supported in the next Dancer version. I'll make sure that's done quickly :)
Another thing we could do is just support it in the core via: dancer -a myapp --layout bootstrap Though this approach is not as flexible.
-Naveed
On Fri, May 25, 2012 at 4:28 AM, Stéphane Wenric <s.wenric@gmail.com> wrote:
Perhaps an ideal way of doing this would be to define some sort of configuration file which should be used as input of dancer -a. In it would be defined the kind of commands needed to do the stuff that gordon's script (which is a great idea btw) does.
Steph
2012/5/25 damien krotkine <dkrotkine@gmail.com>
That looks just awesome !
We need to have dancer -a be flexible and allow to generate different kind of application
On 25 May 2012 04:44, Assaf Gordon <gordon@cshl.edu> wrote:
Hello Dancers,
I recently found myself starting couple of Dancer applications from scratch, and every time had to go through the same motions: Enable Template::Toolkit, update JQuery, add Twitter's Bootstrap, add Font-Awesome, update layout, etc.
So I created a new template - perhaps other interested parties can use it to start dancing even faster.
It starts a template just like "dancer -a", but with bootstrap + font-awesome already integrated (and two script to easily upgrade both).
See it here: http://cowbell.cancan.cshl.edu/ https://github.com/agordon/dancer_bootstrap_fontawesome_template
Comments are welcomed. -gordon
_______________________________________________ Dancer-users mailing list Dancer-users@perldancer.org http://www.backup-manager.org/cgi-bin/listinfo/dancer-users
Dancer-users mailing list Dancer-users@perldancer.org http://www.backup-manager.org/cgi-bin/listinfo/dancer-users
_______________________________________________ Dancer-users mailing list Dancer-users@perldancer.org http://www.backup-manager.org/cgi-bin/listinfo/dancer-users
Awesome stuff, Assaf! I wrote a post about it. On Fri, May 25, 2012 at 12:35 PM, damien krotkine <dkrotkine@gmail.com>wrote:
On 25 May 2012 10:34, Naveed Massjouni <naveedm9@gmail.com> wrote:
Someone had an idea to support something like: dancer -a myapp --layout Bootstrap That would somehow use the third party module Dancer::Layout::Bootstrap to generate the layout file. See: https://github.com/Corion/dancer-layout-bootstrap
Ah yes. This needs integrating and supported in the next Dancer version. I'll make sure that's done quickly :)
Another thing we could do is just support it in the core via: dancer -a myapp --layout bootstrap Though this approach is not as flexible.
-Naveed
On Fri, May 25, 2012 at 4:28 AM, Stéphane Wenric <s.wenric@gmail.com>
wrote:
Perhaps an ideal way of doing this would be to define some sort of configuration file which should be used as input of dancer -a. In it would be defined the kind of commands needed to do the stuff that gordon's script (which is a great idea btw) does.
Steph
2012/5/25 damien krotkine <dkrotkine@gmail.com>
That looks just awesome !
We need to have dancer -a be flexible and allow to generate different kind of application
On 25 May 2012 04:44, Assaf Gordon <gordon@cshl.edu> wrote:
Hello Dancers,
I recently found myself starting couple of Dancer applications from scratch, and every time had to go through the same motions: Enable Template::Toolkit, update JQuery, add Twitter's Bootstrap, add
Font-Awesome,
update layout, etc.
So I created a new template - perhaps other interested parties can use it to start dancing even faster.
It starts a template just like "dancer -a", but with bootstrap + font-awesome already integrated (and two script to easily upgrade both).
See it here: http://cowbell.cancan.cshl.edu/ https://github.com/agordon/dancer_bootstrap_fontawesome_template
Comments are welcomed. -gordon
_______________________________________________ Dancer-users mailing list Dancer-users@perldancer.org http://www.backup-manager.org/cgi-bin/listinfo/dancer-users
Dancer-users mailing list Dancer-users@perldancer.org http://www.backup-manager.org/cgi-bin/listinfo/dancer-users
_______________________________________________ Dancer-users mailing list Dancer-users@perldancer.org http://www.backup-manager.org/cgi-bin/listinfo/dancer-users
Dancer-users mailing list Dancer-users@perldancer.org http://www.backup-manager.org/cgi-bin/listinfo/dancer-users
Another dancer feature I always needed: a quick way to generate the server configuration for apache - the Dancing Deployment Wizard :) http://cowbell.cancan.cshl.edu/dispatch.cgi/deploy I filled only the apache stubs, if you know how to configure other servers, you're welcomed to add those. (Also - there are many many more combinations of apache parameters, I've only used the most common ones). -gordon sawyer x wrote, On 05/25/2012 07:58 AM:
Awesome stuff, Assaf!
I wrote a post about it.
On Fri, May 25, 2012 at 12:35 PM, damien krotkine <dkrotkine@gmail.com <mailto:dkrotkine@gmail.com>> wrote:
On 25 May 2012 10:34, Naveed Massjouni <naveedm9@gmail.com <mailto:naveedm9@gmail.com>> wrote: > Someone had an idea to support something like: > dancer -a myapp --layout Bootstrap > That would somehow use the third party module > Dancer::Layout::Bootstrap to generate the layout file. > See: https://github.com/Corion/dancer-layout-bootstrap
Ah yes. This needs integrating and supported in the next Dancer version. I'll make sure that's done quickly :)
> > Another thing we could do is just support it in the core via: > dancer -a myapp --layout bootstrap > Though this approach is not as flexible. > > -Naveed > > On Fri, May 25, 2012 at 4:28 AM, Stéphane Wenric <s.wenric@gmail.com <mailto:s.wenric@gmail.com>> wrote: >> Perhaps an ideal way of doing this would be to define some sort of >> configuration file which should be used as input of dancer -a. >> In it would be defined the kind of commands needed to do the stuff that >> gordon's script (which is a great idea btw) does. >> >> Steph >> >> >> 2012/5/25 damien krotkine <dkrotkine@gmail.com <mailto:dkrotkine@gmail.com>> >>> >>> That looks just awesome ! >>> >>> We need to have dancer -a be flexible and allow to generate different >>> kind of application >>> >>> On 25 May 2012 04:44, Assaf Gordon <gordon@cshl.edu <mailto:gordon@cshl.edu>> wrote: >>> > Hello Dancers, >>> > >>> > I recently found myself starting couple of Dancer applications from >>> > scratch, and every time had to go through the same motions: Enable >>> > Template::Toolkit, update JQuery, add Twitter's Bootstrap, add Font-Awesome, >>> > update layout, etc. >>> > >>> > >>> > So I created a new template - perhaps other interested parties can use >>> > it to start dancing even faster. >>> > >>> > It starts a template just like "dancer -a", but with bootstrap + >>> > font-awesome already integrated (and two script to easily upgrade both). >>> > >>> > See it here: >>> > http://cowbell.cancan.cshl.edu/ >>> > https://github.com/agordon/dancer_bootstrap_fontawesome_template >>> > >>> > Comments are welcomed. >>> > -gordon >>> > >>> > >>> > _______________________________________________ >>> > Dancer-users mailing list >>> > Dancer-users@perldancer.org <mailto:Dancer-users@perldancer.org> >>> > http://www.backup-manager.org/cgi-bin/listinfo/dancer-users >>> _______________________________________________ >>> Dancer-users mailing list >>> Dancer-users@perldancer.org <mailto:Dancer-users@perldancer.org> >>> http://www.backup-manager.org/cgi-bin/listinfo/dancer-users >> >> >> _______________________________________________ >> Dancer-users mailing list >> Dancer-users@perldancer.org <mailto:Dancer-users@perldancer.org> >> http://www.backup-manager.org/cgi-bin/listinfo/dancer-users >> _______________________________________________ Dancer-users mailing list Dancer-users@perldancer.org <mailto:Dancer-users@perldancer.org> http://www.backup-manager.org/cgi-bin/listinfo/dancer-users
participants (6)
-
Assaf Gordon -
damien krotkine -
Michael Rasmussen -
Naveed Massjouni -
sawyer x -
Stéphane Wenric