rolandjesse.de/scripts/serve-lan-production

4 lines
155 B
Bash
Executable file

#!/bin/bash
sudo iptables -I INPUT -p tcp --dport 4000 -j ACCEPT
JEKYLL_ENV=production jekyll serve --host "0.0.0.0" --config _config.yml,_config.dev.yml