New scripts to serve across lan (#184)
* New scripts to server across lan * Updated README.md
This commit is contained in:
parent
7cfbda8762
commit
26678401b7
4 changed files with 19 additions and 4 deletions
4
scripts/serve-lan
Normal file
4
scripts/serve-lan
Normal 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 ""
|
||||
4
scripts/serve-lan-production
Normal file
4
scripts/serve-lan-production
Normal 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 ""
|
||||
Loading…
Add table
Add a link
Reference in a new issue