Tuesday, 17 November 2015

How to install Docker in Debian 8

Steps(run these commands as root)
1-apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
2-echo "deb https://apt.dockerproject.org/repo debian-jessie main">>/etc/apt/sources.list.d/docker.list
3-apt-get update
4-apt-get install docker-engine
5-service docker start
6-docker run hello-world
Now you can docker as root but not as a normal user.Make a user group to run Docker as a normal user.
7-gpasswd -a changethisToNormalUsername docker
Done :)
Adapted from https://docs.docker.com/engine/installation/debian/#debian-jessie-80-64-bit

Saturday, 7 November 2015

How to clone OpenFrameWorks documentation in Debian

Its helpful to have documentation of openFrameworks locally.Its possible to clone websites using wget but the good thing of using git is you can always update your clone with real one.

Follow these steps to clone documentation locally

1-git clone https://github.com/openframeworks/ofSite.git
2-install blogofile or apt-get install blogofile python-levenshtein
3-cd your git cloned folder
4-blogofile build
5-blogofile serve
6-go to http://127.0.0.1:8080/

Now you have openFrameworks website running locally :)