Skip to content

Commit

Permalink
added run-server.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
alinush committed Feb 11, 2020
1 parent 39292ae commit efe2748
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions run-server.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/sh

if [ "$1" == "-h" -o "$1" == "--help" ]; then
echo "Usage: $0 [port]"
echo
echo "Launches the website locally at http://localhost:<port>"
echo "<port> defaults to 4000"
exit
fi

bundle exec jekyll serve -P $1

0 comments on commit efe2748

Please sign in to comment.