Java based HTTP fileserver
- Open the project in IntelliJ Idea
- Build > Build Artifacts > http-fileserver.jar > Build
- Copy the project directory to your server if it isn't already there.
- Run
chmod +x setup.sh
on your server. - Run
./setup.sh
on your server. - Configure your server.
The default configuration file, as used by the included systemd
service is
/etc/megatech/http-fileserver/default.conf
. For an example configuration please read
example.conf
.