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
<?php | |
require 'recipe/rsync.php' | |
// (略) | |
// Rsync Settings | |
set('rsync_src', __DIR__); | |
set('rsync_dest', '{{ release_path }}'); | |
set('rsync',[ | |
'include' => ['public'], |
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
minio: | |
image: minio/minio:latest | |
(略) | |
entrypoint: sh | |
command: -c " | |
mkdir -p /data/mybucket; | |
mkdir -p /data/.minio.sys/buckets/mybucket; | |
cp /policy.json /data/.minio.sys/buckets/mybucket/policy.json; | |
/usr/bin/minio server /export; | |
" |
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
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"codedeploy:RegisterApplicationRevision", | |
"codedeploy:GetApplicationRevision" | |
], | |
"Resource": [ |
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
$ aws s3 cp s3://aws-codedeploy-ap-northeast-1/latest/install . --region ap-northeast-1 | |
download: s3://aws-codedeploy-ap-northeast-1/latest/install to ./install | |
$ chmod +x ./install | |
$ sudo ./install auto | |
I, [2018-04-13T08:45:57.432536 #2692] INFO -- : Starting Ruby version check. | |
(略) | |
完了しました! | |
I, [2018-04-13T08:45:59.421154 #2692] INFO -- : Update check complete. | |
I, [2018-04-13T08:45:59.421229 #2692] INFO -- : Stopping updater. |
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
server { | |
index index.php index.html; | |
client_max_body_size 100M; | |
location / { | |
error_page 413 @413; | |
try_files $uri $uri/ /index.php?$query_string; | |
} | |
# (e.g.) laravel settings |
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
in: | |
type: file | |
path_prefix: ./aedinfo_tokyo.json | |
parser: | |
charset: UTF-8 | |
newline: LF | |
type: jsonpath | |
columns: | |
- {name: Id, type: long} | |
- {name: LocationName, type: string} |
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
$ pip install selenium | |
$ brew install chromedriver |
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
c:\>minikube start --vm-driver="hyperv" --memory=12000 --disk-size=40g | |
Starting local Kubernetes v1.6.4 cluster... | |
Starting VM... | |
Downloading Minikube ISO | |
90.95 MB / 90.95 MB [==============================================] 100.00% 0s | |
Moving files into cluster... | |
Setting up certs... | |
Starting cluster components... | |
Connecting to cluster... | |
Setting up kubeconfig... |
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
c:\>minikube start --vm-driver="hyperv" | |
Starting local Kubernetes v1.6.4 cluster... | |
Starting VM... | |
Moving files into cluster... | |
Setting up certs... | |
Starting cluster components... | |
Connecting to cluster... | |
Setting up kubeconfig... | |
Kubectl is now configured to use the cluster. |
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
$ pip install cerberus |
NewerOlder