This guide has moved to a GitHub repository to enable collaboration and community input via pull-requests.
https://github.com/alexellis/k8s-on-raspbian
Alex
This guide has moved to a GitHub repository to enable collaboration and community input via pull-requests.
https://github.com/alexellis/k8s-on-raspbian
Alex
| import React, { Component } from 'react' | |
| import { BrowserRouter as Router, Route, Link, Match, Redirect, Switch } from 'react-router-dom' | |
| import OverviewPage from './page/OverviewPage' | |
| import AccountPage from './page/AccountPage' | |
| /* | |
| Layouts, inline define here for demo purpose | |
| you may want to define in another file instead | |
| */ |
| apiVersion: v1 | |
| kind: ReplicationController | |
| metadata: | |
| name: kube-registry-v0 | |
| namespace: kube-system | |
| labels: | |
| k8s-app: kube-registry | |
| version: v0 | |
| spec: | |
| replicas: 1 |
If you use atom... download & install the following packages:
Basically, if you prefer to use DATABASE_URL in your application better than creating the whole database.yml thing, set the following ENV variable in your wercker app settings:
name: DATABASE_URL
| """ | |
| Copies all keys from the source Redis host to the destination Redis host. | |
| Useful to migrate Redis instances where commands like SLAVEOF and MIGRATE are | |
| restricted (e.g. on Amazon ElastiCache). | |
| The script scans through the keyspace of the given database number and uses | |
| a pipeline of DUMP and RESTORE commands to migrate the keys. | |
| Requires Redis 2.8.0 or higher. |
| //usr/bin/env go run $0 "$@"; exit | |
| package main | |
| import ( | |
| "fmt" | |
| "os" | |
| ) | |
| func main() { | |
| fmt.Println("Hello world!") |
| #!/bin/bash | |
| # from here: http://www.codingsteps.com/install-redis-2-6-on-amazon-ec2-linux-ami-or-centos/ | |
| # and here: https://raw.github.com/gist/257849/9f1e627e0b7dbe68882fa2b7bdb1b2b263522004/redis-server | |
| ############################################### | |
| # To use: | |
| # wget https://gist.githubusercontent.com/four43/e00d01ca084c5972f229/raw/install-redis.sh | |
| # chmod 777 install-redis.sh | |
| # ./install-redis.sh | |
| ############################################### | |
| echo "*****************************************" |
์์ ์ ์๊ฐ๊ณผ ํ ์ผ์ ์ ๋ฆฌํ๋ ๊ฒ์ด ๊ธฐ์ ๋ฌธ์์ ๋ชฉํ๊ฐ ๋ ์๋ ์๋ค. ๋จผ์ ๋ ์๋ฅผ ์๋ณํ๋ผ. ๊ทธ๋ฆฌ๊ณ ๋ ์๋ฅผ ๋ฐฐ๋ คํ๊ณ ๋ ์ ์ ์ฅ์ ์๊ฐํ๋ฉฐ ๋ฌธ์๋ฅผ ์์ฑํ๋ผ.
์ค์ํ ์ ๋ณด๋ฅผ ์ํค๋ ๊น(Git)์์ ํ ์คํธ๋ก ์์ฑํ์ง ์๊ณ , ์๋๋ ํ์ํฌ์ธํธ ๊ฐ์ ์ด์ง ๋ฌธ์๋ก ์์ฑํ ๋๋ง๋ค ๋น์ ์ ๋๋ฃ๋ ์ ๊ทผ์ฑ, ๊ฐ์์ฑ, ๋ฒ์ ๊ด๋ฆฌ ๋ฑ ๋ค์ํ ๋ฌธ์ ๋ก ๊ณ ์ํ ๊ฒ์ด๋ค.