-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Massimiliano Arione edited this page Oct 9, 2017
·
9 revisions
This project is meant to create a new Symfony project, using a newer directory structure. Currently, it allows:
- to create a Symfony 2.8 project with Symfony 3 directory structure
- to create a Symfony 3.3 (soon 3.4) with Symfony 4 directory structure
- execute
composer create-project beelab/symfony-beelab yourDir(where "yourDir" is the path of the directory where you want to create the project) - replace the content of
README.mdwith your instructions for the project. This is important, since anyone should be able to be up&running on your project in (almost) zero time! - feel free to remove
LICENSE.md, or to replace it with your license - replace the content of
composer.jsonwith your actual project name, description, authors, etc. - delete the
build.xmlfile, or customize it (guide for CI coming soon) - replace "%customize%" with your project's repository name in
deploy.rb,deploy/staging.rb, andproduction.rbunder theapp/configdirectory (for 2.8 version) orconfigdirectory (for 3.3 version). Of course, if you don't use Capifony for deploy, remove such files (as well asCapfilein the root directory)
Execute the same steps above, using beelab/symfony-beelab:dev-sf4dir in the first step.
In the last step, the configuration directory is config instead of app/config.
If you need translations, create a translations directory in the project root. Otherwise, remove the config/packages/translations.yaml file.