XAMPPの設定共有毎回お願いするの面倒なので埋める形式にした。
(要TextExpander)
ポップアップイメージ
コード
TextExpander
【%filltext:name=案件名%のローカル環境設定】
1.
Finderで shift + cmd + g 下記へ移動
/private/etc/hosts
エディタでhostsファイルを開く
下記1行を追加
127.0.0.1 %filltext:name=ローカルドメイン%
2.
Finderで shift + cmd + g 下記へ移動
/Applications/XAMPP/xamppfiles/etc/extra/httpd-vhosts.conf
エディタでhttpd-vhosts.conf を開く
下記4行を追加
<VirtualHost *:80>
DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs/%filltext:name=案件DocRoot%"
ServerName %filltext:name=ローカルドメイン%
</VirtualHost>
【git】
%filltext:name=Gitパス%
パスワード: %filltext:name=Gitパスワード%
ブランチは「%filltext:name=ブランチ名%」を使います。
【URL】
ローカル : http://%filltext:name=ローカルドメイン%
テスト : http://%filltext:name=開発用ドメイン%