diamante/front-bundle

DiamanteDesk Front Bundle

Installs: 828

Dependents: 1

Suggesters: 0

Security: 0

Stars: 2

Watchers: 11

Forks: 2

Language:JavaScript

2.0.3 2017-02-09 19:15 UTC

README

DiamanteDeskFrontBundle is a part of DiamanteDesk system. This software extends its base functionality with frontend UI available for customers, allowing them to submit and monitor status of their tickets through web.

Installation

Add as dependency in composer:

composer require diamante/front-bundle

Install assets via Symfony using the following command:

php app/console assets:install

Configuration

Frontend is accessible at this URL. This URL should not be covered by standard Oro Platfrom authentication. You should add additional configuration to firewalls section in app/config/security.yml:

front_diamante:
    pattern:        ^/portal
    provider:       chain_provider
    anonymous:      true

In order to reset and update password url you should use anonymous user. Add the following rule in the same section as above:

front_diamante_reset_password:
    pattern:        ^/portal/password/*
    provider:       chain_provider
    anonymous:      true

Development

Requirements for Development

DiamanteDesk Front Bundle development requires such software to be installed:

  • Node.JS
  • NPM
  • Grunt (installed globally)
  • Bower (installed globally)

The source code can be found in the @DiamanteFrontBundle/Resources/front folder. This folder has the following structure:

@DiamanteFrontBundle
+-- Resources
|    +-- assets
|    |    +-- img
|    |    +-- js
|    |    +-- less
+-- .bowerrc
+-- bower.json
+-- Grungfile.js

Application uses Bower to manage all asset dependencies, which will be installed in assets/js/vendor.

After the source code is changed, run Grunt or execute the following command:

php app/console diamante:front:build

NPM Dependencies

All dependencies required for the development are specified at @DiamanteFrontBundle/packages.json file and can be installed using the following command:

npm install

To update the dependencies, execute the following command:

npm update

Contributing

We appreciate any effort to make DiamanteDesk functionality better; therefore, we welcome all kinds of contributions in the form of bug reporting, patches submitting, feature requests or documentation enhancement. Please refer to the DiamanteDesk guidelines for contributing if you wish to be a part of the project.