50 lines
1.2 KiB
Markdown
50 lines
1.2 KiB
Markdown
# client
|
|
|
|
The is a single page application built using Vite (<https://vitejs.dev/>)
|
|
|
|
Example URL for Account View <http://localhost:5173/telephonyContext/?ani=+13125138223&dnis=unknown&queue=GeneralInquires&direction=INBOUND&channel=AmazonConnect&type=Voice&_sessionIdentifier=bc93f1fc>
|
|
|
|
## Project setup
|
|
|
|
```sh
|
|
npm install
|
|
```
|
|
|
|
### Compiles and hot-reloads for development
|
|
|
|
```sh
|
|
npm run dev
|
|
```
|
|
|
|
### Compiles and minifies for production
|
|
|
|
```sh
|
|
npm run build
|
|
```
|
|
|
|
### Lints and fixes files
|
|
|
|
```sh
|
|
npm run lint
|
|
```
|
|
|
|
### Customize configuration
|
|
|
|
See [Configuration Reference](https://cli.vuejs.org/config/).
|
|
|
|
## Running the services
|
|
|
|
### Verint Repeatable Environments
|
|
|
|
#### Install as a docker service
|
|
|
|
```shell
|
|
mkdir -p /opt/em/projects/current/demo/eo-services
|
|
curl -o /opt/em/projects/current/demo/eo-services/docker-compose.yml https://git.mortons.site/verint.com/eo-services-client/raw/branch/main/examples/repeatable-docker-compose.yml
|
|
sudo curl -o /etc/systemd/system/eo-services.service https://git.mortons.site/verint.com/eo-services-client/raw/branch/main/examples/eo-services.service
|
|
|
|
sudo systemctl daemon-reload
|
|
sudo systemctl enable eo-services
|
|
sudo systemctl start eo-services
|
|
```
|