Display the daily meal of Mamacake (ie. https://www.facebook.com/MamaCake.Paris - MamaCake Paris - Restaurant sans gluten).
$ brew update
$ brew install boot2docker
$ boot2docker init
$ boot2docker up
$ boot2docker ssh
$ > user: docker
$ > pass: tcuser
This file contains 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
RewriteEngine on | |
RewriteRule ^(.*)$ http://www.newdomain.com/$1 [R=301,L] |
This file contains 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
############################################################ | |
# Dockerfile to build JekyllApp container images | |
# Based on Ubuntu | |
# Author Remi Barbe (aka Remiii) | |
############################################################ | |
# Set the base image to Ubuntu | |
FROM ubuntu:12.04 | |
# File Author / Maintainer |
This file contains 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
[supervisord] | |
nodaemon=true | |
[program:sshd] | |
command=/usr/sbin/sshd -D | |
[program:jekyll] | |
directory=/home/website/documents/website/myWebsite1 | |
command=jekyll serve | |
stdout_logfile=/var/log/supervisor/%(program_name)s.log |
This file contains 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
$ cd ubuntu-jekyll | |
$ docker build -t ubuntu-jekyll --rm=true ./ |
This file contains 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
$ docker images -a |
This file contains 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
$ docker rmi idOfImage |
This file contains 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
$ docker run -p 20022:22 -p 24000:4000 -i -t ubuntu-jekyll |
OlderNewer