Sunday, July 14, 2013

Installation Symfony 2.3

Installation Symfony 2.3

1. Download at Symfony.com/download link
2. Untar and Copy to www root :
   cd /var/www/symfony
   tar zxvf Symfony_standard.2.x.x.tar.gz
   cp -r Symfony/* /var/www/symfony
   chmod -R 777 app/cache
   chmod -R 777 app/logs
3. Check the pakage & configure
    http://localhosts/web/config.php
    ...
    http://localhosts/web/app_dev.php
 4. or Configure manually
     vi app/config/parameters.yml

Installing vendors
   standard vendor :
   [symfony]
   git=http://github.com/symfony/symfony.git
   version=v2.0.0

   [twig]
   git=http://github.com/fabpot/twig.git
   version=v1.1.1

   [monolog]
   git=http://github.com/Seldaek/monolog.git
   version=1.0.0

   [doctrine]
   git=http://github.com/doctrine/doctrine2.git
   version=2.1.0

   [swiftmailer]
   git=http://github.com/swiftmailer/swiftmailer.git
   version=v4.1.0


Storing new project in github
   git init
   git status
   vi .gitignore
     insert :
        /web/bundles/
        /app/boostrap*
        /app/cache/*
        /app/logs/*
        /vendor/
        /app/config/parameters.ini
        /app/config/parameters.yml
    git add .
    git config --global user.email "kjagro@gmail.com"    git config --global user.email "fadabi"
    git commit -m "Initial commit of the ASF project"
    git add app/config/parameters.yml.dist
    git commit -m "Adding a sample parameter file"

Removing demo pages


Bundles
   FOSUserBundle - user managment
   KnpMenuBundle - really smart menus
   DoctrineFixturesBundle
   StofDoctrineExtensionsBundle - easy doctrine behavior
   AvalancheImagineBundle -  image manipulation
   KnpPaginatorBundle




  









No comments:

Post a Comment