1.0.2 • Published 6 years ago

ssf-server v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
6 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

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago