Since i can't find any useful information on Symfony2 website i'm asking here. What should be done when manually deploying a Symfony2 project? As far i understand:
Edit
app/config/paramenters.ini
to meet server paramentersUpdate vendors to the latest version:
php bin/vendors update
Install database with
php app/console doctrine:database:create
then tables withphp app/console doctrine:schema:update --force
and eventually load fixtures:php app/console doctrine:fixtures:load
Dump and install assets/assetics:
php app/console assets:install --symlink web
as long asphp app/console assetic:dump --env=prod --no-debug
Symlink
index.php
toweb/app.php
, assuming that all files from Symfony2 distribution are in the root of the web serverRemove
web/app_dev.php
(is this really necessary?)should
app/config/paramenters.ini
left untouched? What about security concerns?
Am i right? Thanks for helping. I think that Symfony2 documentation should cover this too.
EDIT: virtual host example:
<VirtualHost *:80> ServerName symfony.local DocumentRoot "C:/www/Symfony2/web" DirectoryIndex app.php <Directory "C:/www/Symfony2/web"> AllowOverride All Allow from All </Directory> </VirtualHost>