composer.json に追記
"require": {
"laravel/framework": "4.2.*",
"barryvdh/laravel-ide-helper": "1.*",
...
},
# git settings | |
source ~/Documents/.git-prompt.sh | |
source ~/Documents/.git-completion.bash | |
GIT_PS1_SHOWDIRTYSTATE=true | |
GIT_PS1_SHOWUNTRACKEDFILES=true | |
GIT_PS1_SHOWSTASHSTATE=true | |
GIT_PS1_SHOWUPSTREAM=auto | |
export PS1='\[\033[32m\]\w\[\033[31m\]$(__git_ps1)\[\033[00m\]\$ ' |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "bento/centos-6.7" | |
config.vm.hostname = 'rails-vagrant' | |
config.vm.network :forwarded_port, guest: 3000, host: 3000 | |
config.vm.provision :shell, inline: <<-EOT | |
# 各種モジュールのインストール |
composer.json に追記
"require": {
"laravel/framework": "4.2.*",
"barryvdh/laravel-ide-helper": "1.*",
...
},
# -*- encoding:utf-8 -*- | |
# | |
# CentOSをセキュアにセットアップするFabricスクリプト | |
# | |
# This software is released under the MIT License, see LICENSE.txt. | |
##################################################################### | |
from fabric.api import env, run, sudo, put | |
from fabric.colors import green | |
from fabric.decorators import task |
# -*- encoding:utf-8 -*- | |
# | |
# CentOSをセキュアにセットアップするFabricスクリプト | |
# | |
# 前提条件 : Fabricインストール済/SSHの公開鍵作成済 | |
# 実行方法 : fab deploy | |
# 検証環境 : CentOS6.6 (さくらのVPS 標準OSインストール) | |
##################################################################### | |
from fabric.api import env, run, sudo, put |
#!/usr/bin/perl | |
# Tripwire Policy File customize tool | |
# ---------------------------------------------------------------- | |
# Copyright (C) 2003 Hiroaki Izumi | |
# This program is free software; you can redistribute it and/or | |
# modify it under the terms of the GNU General Public License | |
# as published by the Free Software Foundation; either version 2 | |
# of the License, or (at your option) any later version. | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
export HOMEBREW_CASK_OPTS="--appdir=/Applications --caskroom=/usr/local/Caskroom" | |
# Make sure using latest Homebrew | |
brew update | |
# Update already-installed formula | |
brew upgrade | |
# Add Repository | |
brew tap homebrew/versions |