1.0.2 • Published 4 years ago

ssf-server v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

Simple Static File Server

Install

npm install -g ssf-server

Usage

sfserver -h
sfserver -r ~/www/root

With PM2

First, create ecosystem.env.js under project root.

// ecosystem.env.js example
module.exports = {
  NODE_ENV: 'production',
  PORT: 80,
  HOST: '127.0.0.1',
  ROOT: '~/www/root'
};

Then, run pm2 start.

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago