Skip to content

Instantly share code, notes, and snippets.

@ianmiell
Last active August 29, 2015 14:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ianmiell/4ff5e22ee1274fb92104 to your computer and use it in GitHub Desktop.
Save ianmiell/4ff5e22ee1274fb92104 to your computer and use it in GitHub Desktop.
# To build your own bespoke ShutIt Distro image
export SHUTIT_PORT=8080
apt-get install git python-pip
mkdir -p /opt/shutit
cd /opt/shutit
git clone https://github.com/ianmiell/shutit.git
git clone https://github.com/ianmiell/shutit-distro.git
find . | grep cnf$ | xargs chmod 0600
cd shutit
PATH=$PATH:/opt/shutit
cd shutit/library/alfs/bin
export PATH=$PATH:/opt/shutit/shutit
pip install -r requirements.txt
./shutit serve -m ../shutit-distro --image_tag imiell/sd_base &
sleep 50 # wait for it to initialise and settle down
# navigate to the server
firefox http://localhost:${SHUTIT_PORT}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment