cms/app-client/README.md
changeset 105 63b9014bb58b
parent 104 bd3747a1cd5f
child 106 30de363937ce
equal deleted inserted replaced
104:bd3747a1cd5f 105:63b9014bb58b
    39 * `npm build` (shortcut for `ember build --environment=production` which serve the application)
    39 * `npm build` (shortcut for `ember build --environment=production` which serve the application)
    40 * Visit /dist to check the built files
    40 * Visit /dist to check the built files
    41 
    41 
    42 ## Api configuration
    42 ## Api configuration
    43 
    43 
    44 * As Ember advices, all the logic of the api (host, namespace), is located in /adapters/application.js
    44 * As Ember advices, all the logic of the api (host, namespace), is located in `adapters/application.js`.
       
    45 * Two ways are provided:    
       
    46   * `Fixture`: deprecated in Ember and have been move out. We know use `ember-data-fixture-adapter` which provides the same behavior.
       
    47 **However** it doesn't allow the use of `this.store.findRecord(...)` function. In our case it won't trigger the api request for the full document information (therefore doesn't get the sound urls). --> **Only use for testing**
       
    48 
       
    49   * `RESTAdapter`: The Common way of plugging in Ember with a Rest server.