https://github.com/cleverage/lifestreambundlesandbox
A sandbox for newbies willing to test the LifestreamBundle
https://github.com/cleverage/lifestreambundlesandbox
Last synced: about 1 year ago
JSON representation
A sandbox for newbies willing to test the LifestreamBundle
- Host: GitHub
- URL: https://github.com/cleverage/lifestreambundlesandbox
- Owner: cleverage
- License: mit
- Created: 2011-03-24T20:37:20.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2011-04-12T22:40:51.000Z (almost 15 years ago)
- Last Synced: 2025-01-17T01:46:31.637Z (about 1 year ago)
- Language: PHP
- Homepage:
- Size: 164 KB
- Stars: 1
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Symfony Standard Edition
========================
What's inside?
--------------
Symfony Standard Edition comes pre-configured with the following bundles:
* FrameworkBundle
* SensioFrameworkExtraBundle
* DoctrineBundle
* TwigBundle
* SwiftmailerBundle
* ZendBundle
* AsseticBundle
* WebProfilerBundle (in dev/test env)
* SymfonyWebConfiguratorBundle (in dev/test env)
* AcmeDemoBundle (in dev/test env)
Installation from an Archive
----------------------------
If you have downloaded an archive, unpack it somewhere under your web server
root directory.
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.
Installation from Git
---------------------
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/`
Configuration
-------------
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:
* Twig is the only configured template engine;
* Doctrine ORM/DBAL is configured;
* Swiftmailer is configured;
* Annotations for everything are enabled.
A default bundle, `AcmeDemoBundle`, shows you Symfony2 in action. After
playing with it, you can remove it by following these steps :
* delete the `src/Acme` directory.
* remove the routing entry in `app/config/routing.yml`.
* remove the `Acme` reference in `app/config/config.yml`.
* remove the AcmeBundle from the registered bundles in `app/AppKernel.php`
* remove the Acme registered namespace in `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!