Skip to content

Latest commit

 

History

History
71 lines (45 loc) · 1.79 KB

README.md

File metadata and controls

71 lines (45 loc) · 1.79 KB

CircleCI

Sharpfiles

File Uploader

A custom file uploader using Sharex designed to work with SharpNet and SharpCD

Example Diagram

Install Dependencies

  • Make sure SharpCD havs been installed.

  • Ensure the enviromental variables have been set in an enviromental variable file:

# sharpnet ports
HTTP_PORT=80
HTTPS_PORT=443

# Sharpnet gmail login credentials
# for sending errors
MAILPASS=email_password
SENDER_EMAIL=email

# Email that problems will be sent to
RECEIVER_EMAIL=[email protected]

# Domain for certificates
DOMAIN=domain2.com

# For Devs only
DEV=FALSE
NETWORK=sharpnet

(See the sharpnet documentation for more information)

  • Run the following command to install the dependencies:
sharpcd --remotefile https://raw.githubusercontent.com/SharpSet/sharpfiles/main/.sharpcd/depencencies.yml

Installation

  • Make sure SharpCD havs been installed.

  • Ensure the enviromental variables have been set in an enviromental variable file:

SECRET=Secret123
SHARPFILES_DOMAIN=mydomain.com
  • Run the following command to install the SharpFiles:
sharpcd --remotefile https://raw.githubusercontent.com/SharpSet/sharpfiles/main/.sharpcd/sharpcd.yml

Help with Sharex

A guide to setting up custom uploaders in Sharex can be found here.

Maintainers