node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

cloudron-serve

The Cloudron Serve Tool

The Cloudron serve tool is basically like serve and other popular file serving tools. The difference is, that once running on a Cloudron, it will authenticate with LDAP.

Installation

Installing the CLI tool requires node.js and npm. The CLI tool can be installed using the following command:

npm install -g cloudron-serve

Depending on your setup, you may need to run this as root.

You should now be able to run the cloudron help command in a shell.

Usage

$ PORT=1337 cloudron-serve /path/to/public/folder