LoginSignup
0
0

More than 5 years have passed since last update.

XAMPPのGit設定共有用TextExpanderショートカット

Last updated at Posted at 2015-06-10

XAMPPの設定共有毎回お願いするの面倒なので埋める形式にした。
(要TextExpander)

ポップアップイメージ

スクリーンショット 2015-06-10 14.06.22.png

コード

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=開発用ドメイン%

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0