Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions DependencyInjection/ClankExtensionClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ public function load(array $configs, ContainerBuilder $container)

$loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
$loader->load('services.xml');

$aAsseticBundle = $container->getParameter('assetic.bundles');
$aAsseticBundle[] = 'JDareClankBundle';
$container->setParameter('assetic.bundles', $aAsseticBundle);

$config = array();
foreach ($configs as $subConfig) {
Expand Down
15 changes: 2 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,18 +62,7 @@ public function registerBundles()
}
```

###Step 3: Add to Assetic Bundles

Add "JDareClankBundle" to your assetic bundles in app/config (this is required to render the client side code).

```yaml
# Assetic Configuration
assetic:
...
bundles: [ JDareClankBundle ]
```

###Step 4: Configure WebSocket Server
###Step 3: Configure WebSocket Server

Add the following to your app/config.yml

Expand All @@ -87,7 +76,7 @@ clank:

_Note: when connecting on the client, if possible use the same values as here to ensure compatibility for sessions etc._

### Step 5: Launching the Server
### Step 4: Launching the Server

The Server Side Clank installation is now complete. You should be able to run this from the root of your symfony installation.

Expand Down