New scripts to serve across lan (#184)

* New scripts to server across lan

* Updated README.md
This commit is contained in:
Kartik Arora 2016-07-31 20:33:11 +05:30 committed by Panos Sakkos
parent 7cfbda8762
commit 26678401b7
4 changed files with 19 additions and 4 deletions

4
scripts/serve-lan Normal file
View file

@ -0,0 +1,4 @@
#!/bin/bash
sudo iptables -I INPUT -p tcp --dport 4000 -j ACCEPT
jekyll serve --watch --host "0.0.0.0" --baseurl ""

View file

@ -0,0 +1,4 @@
#!/bin/bash
sudo iptables -I INPUT -p tcp --dport 4000 -j ACCEPT
JEKYLL_ENV=production jekyll serve --host "0.0.0.0" --baseurl ""