/Vuewer

Just a file viewing webapp using PDFJS

Primary LanguageVue

Vuewer

View pdfs on any machine using Vue and Node

Vuewer

Setup locally

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

Configure your environment

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:

Rename config-example.js to config.js and save

Boot up the server

cd client
npm run start

Boot up the client

cd client
npm run serve

Access the vue client at http://localhost:8080/