Crates.io | file-server |
lib.rs | file-server |
version | 1.3.0 |
source | src |
created_at | 2019-11-28 15:29:23.276443 |
updated_at | 2019-12-09 13:15:20.504501 |
description | Static HTTP file server for web developers. |
homepage | |
repository | https://github.com/mcelkys/file-server |
max_upload_size | |
id | 185104 |
size | 103,613 |
Static HTTP file server for web developers.
Make sure you first install Cargo, then run the following command in your terminal:
cargo install file-server
To start the server, run the following command in your terminal at the root directory of your project (your index.html
file will likely be there):
file-server -p <PORT>
For example:
file-server -p 8080