This is the frontend of the Pick-by-Light project. Detailed information about the project and the single components can be found in the frontend documentation.
The frontend can be started via docker.
The docker commands must be used in the location of the "Dockerfile" file.
Before the build, the ip to the backend can be adjusted in the config/config.json
.
Further adjustments for the nginx server can be configured in the config/nginx.conf
, but are usually not necessary.
docker build . -t frontend
The port used by the webserver can be specified within the command. Default is 8080
.
(80
is the port of the nginx server running in the container, defined in the config/nginx.conf
.)
docker run --name frontend -d -p 8080:80 frontend
docker start frontend
docker stop frontend
npm install
npm run serve