1
0
mirror of https://github.com/labstack/echo.git synced 2025-01-12 01:22:21 +02:00

Updated css

Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
Vishal Rana 2015-10-02 15:35:22 -07:00
parent b762277b48
commit 9f663fd9c4
4 changed files with 66 additions and 1 deletions

17
website/Makefile Normal file
View File

@ -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
website/rc.json Normal file
View File

@ -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
website/service.json Normal file
View File

@ -0,0 +1,18 @@
{
"apiVersion": "v1",
"kind": "Service",
"metadata": {
"name": "echo",
"labels": {
"name": "echo"
}
},
"spec": {
"ports": [{
"port": 5091
}],
"selector": {
"name": "echo"
}
}
}

View File

@ -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 {
@ -21,5 +21,6 @@ a:link {
}
.menu a {
display: block;
color: #757575;
padding: 2px 0
}