Last Updated: April 27, 2019
· whatishedoing

Serving a Website Within a Chromebook Terminal

Chromebooks are cheap and easy to use, and now provide a Linux terminal!

If you'd like to serve a website for local development and testing, however, you'll need to bind to the correct IP address, a little like Docker You will need to find the inet address and bind it to the host, which bash can do as follows:

sudo ifconfig | awk '/^eth/{s=$1;getline;print $2}' | set MY_HOST
jekyll serve --host $MY_HOST