https://github.com/devincarr/stegoserver
A static Nodejs webserver
https://github.com/devincarr/stegoserver
Last synced: about 2 months ago
JSON representation
A static Nodejs webserver
- Host: GitHub
- URL: https://github.com/devincarr/stegoserver
- Owner: DevinCarr
- License: mit
- Created: 2014-07-10T04:46:44.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-08-09T02:22:08.000Z (almost 12 years ago)
- Last Synced: 2025-02-18T03:46:31.412Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 359 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](http://badge.fury.io/js/stegoserver)
Stegoserver
============
>*A static Nodejs webserver*
Stegoserver is a static hosting webserver that serves up files from a target directory.
It can serve JS, CSS, and HTML, along with images and extra files. It is targeted to serve
html pages for now.
Getting Started
============
### Usage
```shell
$ stegoserver
```
Runs with default settings as described below.
Options
============
Configurable options for the webserver.
#### port (-p)
**Accepts: `number`
Default: `8080`
Desciption:**
The port number to connect the node webserver to.
**Example:**
`$ stegoserver -p 80`
#### location (-l)
**Accepts: `string`
Default: `./app/`
Description:**
The target directory for the webserver to serve files from.
**Example:**
`$ stegoserver -l ~/Documents/website/`
Contributing
============
Stegoserver uses [grunt](http://gruntjs.com/) (`^4.5.0`) to use jshint and test.
#### Grunt
```shell
$ npm install -g grunt-cli
```
#### Stegoserver Setup:
```shell
git clone https://github.com/DevinCarr/Stegoserver.git
cd Stegoserver
npm install
```
#### Grunt Commands:
To check and run tests:
```shell
$ grunt
```
Notes
============
While Stegoserver is still in alpha phases, it is mostly stable, feel free to post
issues that arise.
License
============
MIT