Webprint is a web application. It is a hobby project of mine. The basic idea is that you should be able to run the app with a single command on any Linux-environment. The app hosts a website which can be used to upload files to the backend. A printer connected to the device via USB consumes these uploaded files and prints these at a user's request.
Backend:
- Vertx
- Maven
Frontend:
Provisioning:
For the backend do the following:
cd webprint/rx-webprint-server/
mvn clean install # build
mvn vertx:run # to run (one way)
java -jar target/rx-webprint-server.jar # to run (alternatively)
Then go to: localhost:8181/.
For the frontend do the following:
cd webprint-frontend
npm install
ng serve
And go to: localhost:4200/.
To build and start the Docker container do the following in the rx-webprint-server directory:
mvn docker:build docker:start -Pdocker
And then go to: localhost:8181/static/