2017 © Pedro Peláez
 

symfony-bundle remote-bundle

image

cravler/remote-bundle

  • Wednesday, April 1, 2015
  • by cravler
  • Repository
  • 1 Watchers
  • 0 Stars
  • 203 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

CravlerRemoteBundle

Installation

Step 1: update your vendors by running

``` bash $ php composer.phar require cravler/remote-bundle:@dev, (*1)


### Step2: Enable the bundle ``` php <?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Cravler\RemoteBundle\CravlerRemoteBundle(), ); }

Step3: Routing

``` yaml // app/config/routing.yml, (*2)

cravler_remote: resource: "@CravlerRemoteBundle/Resources/config/routing.xml", (*3)


### Step4: Install node_modules ``` bash npm install --prefix vendor/cravler/remote-bundle/Cravler/RemoteBundle/Resources/nodejs

Configuration

The default configuration for the bundle looks like this:, (*4)

``` yaml cravler_remote: user_provider: ~ app_port: 8080 remote_port: 8081 server_port: 8082 secret: ThisTokenIsNotSoSecretChangeIt, (*5)


## Generate ubuntu upstart commands ``` bash sudo bash -c "app/console cravler:remote:ubuntu:upstart server > /etc/init/cravler-remote-server.conf" sudo bash -c "app/console cravler:remote:ubuntu:upstart app > /etc/init/cravler-remote-app.conf"

Example of Usage

CravlerChatBundle, (*6)

License

This bundle is under the MIT license. See the complete license in the bundle:, (*7)

LICENSE

The Versions

01/04 2015

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

 

symfony remote sockets websockets node.js