An open API service indexing awesome lists of open source software.

https://github.com/netgusto/symfony-devserverbundle

Development server console command with subdomain support, and automatic assets compilation.
https://github.com/netgusto/symfony-devserverbundle

Last synced: 4 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# Development server console command with custom tasks support

## Install

In `composer.json`:

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

In `app/AppKernel.php`:

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

## Configure

In `app/config.yml`:

```yaml
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

```bash
php app/console server:dev
```