Skip to content

Commit

Permalink
Updated css
Browse files Browse the repository at this point in the history
Signed-off-by: Vishal Rana <vr@labstack.com>
  • Loading branch information
vishr committed Oct 2, 2015
1 parent b762277 commit 9f663fd
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 1 deletion.
17 changes: 17 additions & 0 deletions website/Makefile
@@ -0,0 +1,17 @@
.PHONY: build push deploy

NAME := echo
TAG := $(shell date +'%Y.%m.%dT%H.%M')

build:
rm -rf public
hugo
gox -osarch=linux/amd64 -output server
docker build -t gcr.io/$(PROJECT_ID)/$(NAME):$(TAG) .

push: build
gcloud docker push gcr.io/fluent-anagram-95603/$(NAME):$(TAG)

deploy: push
# https://github.com/kubernetes/kubernetes/blob/release-1.0/docs/user-guide/kubectl/kubectl_rolling-update.md
kubectl rolling-update $(NAME) --image=gcr.io/($PROJECT_ID)/$(NAME):$(TAG)
29 changes: 29 additions & 0 deletions website/rc.json
@@ -0,0 +1,29 @@
{
"apiVersion": "v1",
"kind": "ReplicationController",
"metadata": {
"name": "echo"
},
"spec": {
"replicas": 2,
"selector": {
"name": "echo"
},
"template": {
"metadata": {
"labels": {
"name": "echo"
}
},
"spec": {
"containers": [{
"image": "gcr.io/fluent-anagram-95603/echo",
"name": "echo",
"ports": [{
"containerPort": 5091
}]
}]
}
}
}
}
18 changes: 18 additions & 0 deletions website/service.json
@@ -0,0 +1,18 @@
{
"apiVersion": "v1",
"kind": "Service",
"metadata": {
"name": "echo",
"labels": {
"name": "echo"
}
},
"spec": {
"ports": [{
"port": 5091
}],
"selector": {
"name": "echo"
}
}
}
3 changes: 2 additions & 1 deletion website/static/styles/echo.css
Expand Up @@ -5,7 +5,7 @@ code {
font-size: .95em;
padding: 2px 4px;
background: #eee;
color: #4d4d4c;
color: #424242;
font-family: Source Code Pro, Monaco, Menlo, Consolas, monospace;
}
a:link {
Expand All @@ -21,5 +21,6 @@ a:link {
}
.menu a {
display: block;
color: #757575;
padding: 2px 0
}

0 comments on commit 9f663fd

Please sign in to comment.