npm install
The .env file stores the spooky scary sensitive data that you don't want people to see. The layout for the .env file is shown below
SERVERIP={{database server ip}}
SERVERUSERNAME={{database username}}
SERVERPASSWORD={{database user password}}
SERVERDB={{the database to store the data in}}
Run the project in your debugger of choice, or start node with an inspection port open.
npm install
and allow npm to install all packages.npm run build
and allow vue to build and compile the project to the dist/
folder.pm2 . --name api -i 2
and pm2 ./thumbnailServer.js --name thumbnail -i 6
There is a already a fully working version of this service running here at alekeagle.me if you want to check it out.