Skip to content

Commit 3d25297

Browse files
committed
Updated docs
1 parent ba7f012 commit 3d25297

File tree

2 files changed

+23
-8
lines changed

2 files changed

+23
-8
lines changed

docs/DEVELOPING.md

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,37 @@
1+
# DEVELOPING
2+
13
## Quick start
4+
25
First clone this repo: `git clone https://github.com/jeroenouw/AngularAI.git`.
36
Change directory to this project
47
Run `npm install` to install all the dependencies.
58
Run `npm start` to run this project. This will run with the AoT Compiler.
6-
Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
9+
Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
710

811
## Development
12+
913
For own projects please use different token `src/environment/environment.prod.ts` and `src/environment/environment.ts`:
10-
``` dialogflow: { ```
11-
``` [CHOOSE_A_NAME]': '[YOUR_TOKEN]' ```
12-
``` }```
13-
14+
15+
```ts
16+
17+
dialogflow: {
18+
[CHOOSE_A_NAME]': '[YOUR_TOKEN]'
19+
}
20+
21+
```
22+
1423
Run `npm start` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
1524

1625
To build the development environment, run `npm run dist`.
1726

1827
## Production
19-
To build the default production environment, run `npm run prod`. This will run with the AoT Compiler.
20-
To build the production environment with reduced file size, run `npm run prod:opt` (Takes extra time to build with build optimizer).
28+
29+
To build the default production environment, run `npm run prod`. This will run with the AoT Compiler.
30+
31+
To build the production environment without hashes in your file, run `npm run prod:hashless`.
2132

2233
## Speech Options
34+
2335
Available speech recognition options in `src/app/service/ai.service.ts`
2436

2537
Choose if the API needs to look for further words:
@@ -32,4 +44,4 @@ Select your speech language:
3244
`this.speechRecognition.lang = 'en-us';`
3345

3446
Choose the quantity of alternative available matches:
35-
`this.speechRecognition.maxAlternatives = 0;`
47+
`this.speechRecognition.maxAlternatives = 0;`

docs/SENTENCES.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1+
# SENTENCES
2+
13
## Example sentences
4+
25
* Can you get smarter?
36
* You're boring
47
* Who is your boss?

0 commit comments

Comments
 (0)