AlekEagle / sharex-vue

The official Cumulonimbus server.
https://alekeagle.me
13 stars 2 forks source link
api-rest sharex upload-server

Cumulonimbus

Project setup

npm install

Requirements

.env File Configuration

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}}

Debugging

Run the project in your debugger of choice, or start node with an inspection port open.

Quick Start Guide

  1. Clone this repository.
  2. Run npm install and allow npm to install all packages.
  3. Run npm run build and allow vue to build and compile the project to the dist/ folder.
  4. Run setup.sh in the root directory of the project to install and symlink everything in one command.
  5. Setup database, create user and database specifically for cumulonimbus.
  6. Start preview and API servers using pm2 . --name api -i 2 and pm2 ./thumbnailServer.js --name thumbnail -i 6

Online Demonstration

There is a already a fully working version of this service running here at alekeagle.me if you want to check it out.