Sign inSign up

cravler/remote

By cravler

Updated over 10 years ago
Archived

https://github.com/cravler/CravlerRemoteBundle

Image
0

318

cravler/remote repository overview

CravlerRemoteBundle

Installation

Step 1: update your vendors by running
$ php composer.phar require cravler/remote-bundle:@dev
Step2: Enable the bundle
<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...

        new Cravler\RemoteBundle\CravlerRemoteBundle(),
    );
}
Step3: Routing
// app/config/routing.yml

cravler_remote:
    resource: "@CravlerRemoteBundle/Resources/config/routing.xml"
Step4: Install node_modules
npm install --prefix vendor/cravler/remote-bundle/Cravler/RemoteBundle/Resources/nodejs

Configuration

The default configuration for the bundle looks like this:

cravler_remote:
    user_provider: ~
    app_port: 8080
    remote_port: 8081
    server_port: 8082
    secret: ThisTokenIsNotSoSecretChangeIt

Generate ubuntu upstart commands

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

License

This bundle is under the MIT license. See the complete license in the bundle:

LICENSE

Tag summary

Content type

Image

Digest

sha256:1d4d35e99

Size

176.2 MB

Last updated

over 10 years ago

docker pull cravler/remote