Skip to content

Instantly share code, notes, and snippets.

View AtsushiA's full-sized avatar

Atsushi Ando AtsushiA

View GitHub Profile
@AtsushiA
AtsushiA / init.sh
Last active September 13, 2025 07:07 — forked from shimakyohsuke/init.sh
Local で立ち上げ後に実効するやつ
#!/bin/bash
shopt -s expand_aliases
## 日本語化
wp core language install ja
wp core language activate ja
## いろいろなプラグインをインストール
@AtsushiA
AtsushiA / backlog-deploy.php
Last active August 27, 2020 01:19 — forked from hissy/backlog-deploy.php
Git Webhookを使ったCPIへのデプロイスクリプト
<?php
// CPIユーザーID(契約情報で確認してください)
$user_id = 'abc123defg';
// リポジトリ名(Backlogで確認してください)
$repo_name = 'repository_name';
// Gitレポジトリの位置の指定
$git_dir = '/usr/home/' . $user_id . '/' . $repo_name . '.git';
// 展開先ディレクトリの指定
$work_tree = '/usr/home/' . $user_id . '/html';
// logファイルの指定