netgusto/devserver-bundle

Development server console command with subdomain support, and automatic assets compilation.

1.2.0 2014-10-17 15:52 UTC

This package is not auto-updated.

Last update: 2024-07-06 16:44:01 UTC


README

Development server console command with custom tasks support

Install

In composer.json:

"require": {
    "netgusto/devserver-bundle": "dev-master"
}

In app/AppKernel.php:

$bundles = array(
    # [...]
    new Netgusto\DevServerBundle\NetgustoDevServerBundle(),
    # [...]
);

Configure

In app/config.yml:

netgusto_dev_server:
    tasks:
        - { command: php app/console server:run 0.0.0.0:8000 }
        - { command: php app/console assetic:dump --watch }
        - { command: ember serve, path: web/apps/calclient }

Use

php app/console server:dev