cravler / remote-bundle
Installs: 215
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.4.0
- cravler/dnode: ~0.2.0
- symfony/framework-bundle: ~2.3
This package is auto-updated.
Last update: 2024-11-06 08:47:47 UTC
README
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
License
This bundle is under the MIT license. See the complete license in the bundle:
LICENSE