serve ~master
A simple HTTP server for static files.
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
serve
A simple HTTP server for static files.
Installation
You can simply use dub to run the tool.
dub fetch serve
dub run serve
dub run serve -- [ARGS]
Or you build the tool and copy/symlink it into your path.
dub fetch serve
dub build serve
sudo mv ~/.dub/packages/serve-1.0.0/serve /usr/local/bin/
Usage
serve the current working directory
serve
serve an html file with it's containing folder and open it in your browser
serve path/to/index.html
serve a folder
serve path/to/folder
use a different port than 8080 (
-p|--port
)serve -p 1234
bind a different IP address than 127.0.0.1 using (
-b|--bind
)serve -b 127.0.0.1
run
-h|--help
to see all optionsserve -h
- Registered by Martin Nowak
- ~master released 3 years ago
- MartinNowak/serve
- MIT
- Copyright © 2015-, Martin Nowak
- Authors:
- Dependencies:
- vibe-d:http
- Versions:
-
1.1.2 2021-Feb-09 1.1.1 2021-Feb-09 1.1.0 2018-May-04 1.0.3 2018-May-04 1.0.2 2017-Oct-21 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
362 downloads total
-
- Score:
- 1.5
- Short URL:
- serve.dub.pm