Symfony okoa base project
- dev-master / 2.6.x-dev
This project has several dependencies:
Install the project dependencies using:
composer install npm install bower install
Most commands are run via
bin/symfony. You can choose to install
gulp globally using
npm install -g gulp, in which case you can replace all
bin/gulp with just
- To build the assets for production, use
- To run a server, use
bin/symfony server:run. You can also start a server in the background by using
bin/symfony server:startwhen your PHP installation has the pcntl extension installed.
- To watch for changes in your assets and compile them as they change, run the
bin/gulp watchcommand. Note that this command does not minify or gzip your assets, and is intended only for development. Also note that changes in your libraries typically aren't noticed, so you'll have to restart the watch command for changes in those.
- The task
bin/gulp runis used to start both a server and start watching for asset changes at the same time.
bin/gulp devtask does the same as the run task, but it also tries to start relevant background servers required for testing.
- Note that some Symfony bundles may want to install assets, you can do that by
bin/symfony assets:installor by running
composer install, in which case the assets:install command is automatically run.
- You can run the test using
bin/kahlanand for CI purposes you can run the
bin/fill_parametersscript to create a default parameters file for your Symfony application.