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.
- Host: GitHub
- URL: https://github.com/netgusto/symfony-devserverbundle
- Owner: netgusto
- Created: 2014-06-01T09:21:28.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-10-17T15:53:17.000Z (about 11 years ago)
- Last Synced: 2025-08-17T00:39:43.506Z (5 months ago)
- Language: PHP
- Size: 148 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```