Last active
August 29, 2015 14:12
-
-
Save ianmiell/4ff5e22ee1274fb92104 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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