View pdfs on any machine using Vue and Node
Clone the repo
git clone https://github.com/Hapa1/Vuewer.git
cd vuewer
Install dependencies for Vue client
cd client
npm install
Install dependencies for Node app
cd server
npm install
Server: open Vuewer/server/config/config-example.js and specify:
- A port number e.g. 8081
- The root directory e.g. '/Desktop/pdfs'
Rename config-example.js to config.js and save
Client: open Vuewer/client/config/config-example.js and specify:
- The URI at which the server is running e.g. 'http://localhost:8081/file' or 'ec2-xx-xxx-xxx-xxx.region.compute.amazonaws.com'
Rename config-example.js to config.js and save
cd client
npm run start
cd client
npm run serve
Access the vue client at http://localhost:8080/