Changeset 35496


Ignore:
Timestamp:
2021-09-27T16:42:19+13:00 (3 years ago)
Author:
cstephen
Message:

Update README

Location:
main/trunk/model-interfaces-dev/atea/korero-maori-asr
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/model-interfaces-dev/atea/korero-maori-asr/README.md

    r35454 r35496  
    2323### Compile and minify for production
    2424
    25 Firstly, development-specific code needs to be changed.
     251. In `vue.config.js`, uncomment the `publicPath` property, and optionally change it to point to where your production distribution will be placed relative to the interface.
    2626
    27 1. In `TranscribeModule.js` rename the transcribe methods to stop the test data being returned.
    28 
    29     ```js
    30     -- async transcribeFiles(files) {
    31     ++ async transcribeFilesTest(files) {
    32     // And
    33     -- async transcribeFilesActual(files) {
    34     ++ async transcribeFiles(files) {
    35     ```
    36 
    37 2. In `vue.config.js`, uncomment the `publicPath` property, and optionally change it to point to where your production distribution will be placed relative to the interface.
    38 
    39 3. Finally, build the project.
     272. Build the project.
    4028    ```
    4129    npm run build
  • main/trunk/model-interfaces-dev/atea/korero-maori-asr/vue.config.js

    r35454 r35496  
    55 */
    66module.exports = {
    7     // publicPath: "interfaces/{$interface_name}/korero-maori-asr/dist",
     7    // publicPath: "interfaces/atea/korero-maori-asr/dist",
    88    filenameHashing: false, // Allows us to easily setup direct links in our asr.xsl. You may want to change this for production in order to help with caching
    99
Note: See TracChangeset for help on using the changeset viewer.