Home > bash, symfony > Bash Script to create a new symfony project and install optional plugins

Bash Script to create a new symfony project and install optional plugins

October 29th, 2009 pablo Leave a comment Go to comments

As we already mentioned in my last post, I have been playing a lot with Symfony these last few months. While I really enjoy working with symfony, it is always a pain to remember how to start a new project, install all the plugins and read the plugin’s documentation. After googling around I found that Gordon Franke published this post. It had a basic script to install symfony and have it working out of the box with very little effort. Me, being a huge fan of little effort, decided to change this script so that it’s even more useful and more powerful, so I don’t loose time installing all those boring and needed plugins I like. The result can be found on GitHub. The script works pretty well, but it does have bugs, so don’t be shy and report them, or fix them when you find one!

http://blog.melimato.com/wp-content/plugins/sociofluid/images/digg_24.png http://blog.melimato.com/wp-content/plugins/sociofluid/images/reddit_24.png http://blog.melimato.com/wp-content/plugins/sociofluid/images/stumbleupon_24.png http://blog.melimato.com/wp-content/plugins/sociofluid/images/delicious_24.png http://blog.melimato.com/wp-content/plugins/sociofluid/images/technorati_24.png http://blog.melimato.com/wp-content/plugins/sociofluid/images/google_24.png http://blog.melimato.com/wp-content/plugins/sociofluid/images/myspace_24.png http://blog.melimato.com/wp-content/plugins/sociofluid/images/facebook_24.png http://blog.melimato.com/wp-content/plugins/sociofluid/images/yahoobuzz_24.png http://blog.melimato.com/wp-content/plugins/sociofluid/images/twitter_24.png http://blog.melimato.com/wp-content/plugins/sociofluid/images/meneame_24.png
Categories: bash, symfony Tags: ,
  1. Mark
    October 31st, 2009 at 22:14 | #1

    Hey I just wanted to let you know that Symfony has something like this built in, take a look at it here:

    http://www.symfony-project.org/blog/2009/06/10/new-in-symfony-1-3-project-creation-customization

    Basically when you start a new project you do a command such as:

    php /path/to/symfony generate:project –installer=/domewhere/installer.php

    Inside of the installer script you get access to a bunch of Symfony internals.

  2. kevin
    November 1st, 2009 at 11:07 | #2

    @Mark , that’s right, but this is a 1.3 feature, and this script was developed while working on 1.2 projects (and we started working on it before this installer feature was announced)…

    Kris Wallsmith published one of his custom installer, and it does look interesting :
    http://github.com/kriswallsmith/sf-installer-kris/blob/master/installer.php

  3. November 2nd, 2009 at 15:27 | #3

    Really nice and useful, thanks!
    Saved the project into the Symfony Developers Diigo Group: http://groups.diigo.com/group/symfony-developers

  1. No trackbacks yet.

Comment moderation is enabled. Your comment may take some time to appear.

Additional comments powered by BackType