Documentation • Wiki • Contributing • Contact
VueJS front-end for the logistal process of managing packages.
Install node modules.
npm install
Run
npm run serve
You will get the following output.
App running at:
- Local: http://localhost:8080/
- Network: http://192.168.1.74:8080/
Issues checking in progress...
No issues found.
Copy the .env.example
file and paste it as a new file named .env
.
Use the ip address from the line - Network: http://192.168.1.74:8080/
and replace ipadress
in you .env
file.
VUE_APP_API_GATEWAY=http://192.168.1.74:8123
VUE_APP_URL=http://192.168.1.74:8080
Press ctl
+ c
to exit the current build and rerun.
Serve VueJS
npm run serve
The docker image used in this build uses a Nginx webserver to serve the SPA VueJS content on port 80
.
Choose on of the following.
docker build -t ui .
Replace example.nl with your custom urls.
docker build -t ui --build-arg VUE_APPURL=www.example.nl --build-arg VUE_APP_APIGATEWAY=gateway.example.nl .
docker run -p 8080:80 --name ui-app ui