Blog is a project mainly written in PHP and SHELL, based on the MIT license.
Tutoriel Blog
Symfony Standard Edition comes pre-configured with the following bundles:
If you have downloaded an archive, unpack it somewhere under your web server root directory and create log and cache directories. You must change permissions to 775.
If you have downloaded an archive without the vendors, run the
bin/vendors.sh
script (git
must be installed on your machine). If you
don't have git, download the version with the vendors included.
We highly recommend you that you download the packaged version of this distribution. If you still want to use Git, your are on your own.
Run the following scripts:
bin/vendors.sh
(use --min
if you don't want all the history)bin/build_bootstrap.php
app/console assets:install web/
Check that everything is working fine by going to the web/config.php
page in a
browser and follow the instructions.
The distribution is configured with the following defaults:
A default bundle, AcmeDemoBundle
, shows you Symfony2 in action. After
playing with it, you can remove it by following these steps :
src/Acme
directory.app/config/routing.yml
.Acme
reference in app/config/config.yml
.app/AppKernel.php
app/autoload.php
Configure the distribution by editing app/config/parameters.ini
or by
accessing web/config.php
in a browser.
A simple controller is configured at /hello/{name}
. Access it via
web/app_dev.php/demo/hello/Fabien
.
If you want to use the CLI, a console application is available at
app/console
. Check first that your PHP is correctly configured for the CLI
by running app/check.php
.
Enjoy!