npm install
npm run serve
npm run build
npm run lint
You can run build and run the application from docker using the following commands:
Build
> docker build -t redis/search-frontend .
This command will create a new image and build the maven project into it.
Run
> docker run --rm \
--env "VUE_APP_SEARCH_API_JAVA=http://host.docker.internal:8085" \
--env "VUE_APP_SEARCH_API_NODE=http://host.docker.internal:8086" \
--env "VUE_APP_SEARCH_API_PYTHON=http://host.docker.internal:8087" \
--name "redisearch-frontend"\
-p 8084:8084 redis/search-frontend
Access the Web application with the following URL: