source: main/trunk/model-interfaces-dev/atea/macron-restoration/README.md@ 35714

Last change on this file since 35714 was 35714, checked in by cstephen, 2 years ago

Add macroniser scaffolding.
Update translations.

File size: 1.4 KB
Line 
1# Korero Māori ASR Interface
2
3A Greenstone 3 interface for the Atea Project, providing a refreshed and greenstone-integrated interface for the [Māori Macron Restoration service](https://trac.greenstone.org/browser/other-projects/the-macronizer/trunk).
4
5## Project setup
6
7Ensure that [node.js](https://nodejs.org) is on your path. (e.g., which node)
8
9You will also need to setup the Greenstone3 `macron-restoration` extension. Visit https://trac.greenstone.org/browser/other-projects/the-macronizer/trunk to get the source, and check the [wiki page](http://wiki.greenstone.org/doku.php?id=internal:macroniser) for setup instructions.
10
11```
12npm install
13```
14
15### Compile and hot-reload for development
16
17This will open a development webserver on http://localhost:8080 that is detached from the running Greenstone instance.
18
19```
20npm run serve
21```
22
23### Compile and minify for production
24
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 root `interfaces` directory.
26
272. Build the project.
28 ```
29 npm run build
30 ```
31
323. Visit the `macron-restoration` Greenstone3 XSL page. For a default Greenstone3 installation, this should be located at http://localhost:8383/greenstone3/library/page/macron-restoration
33
34### Lint and fix files
35
36This uses the settings in `.eslintrc.js` to lint the project, and attempts to fix mistakes accordingly.
37
38```
39npm run lint
40```
Note: See TracBrowser for help on using the repository browser.