Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 785 Bytes

README.md

File metadata and controls

32 lines (24 loc) · 785 Bytes

hr-dash-env

hr-dashの環境構築を先に終える

Install

vagrant plugin install vagrant-hostsupdater
git clone [email protected]:hr-dash/hr-dash-env.git
cd hr-dash-env
vagrant up # To edit /etc/hosts sudo必要になるのでpassword入力

# Add ssh config
vagrant ssh-config --host hr-dash-server >> ~/.ssh/config
bundle install --path vendor/bundle

Setup

nodes/vagrant.ymlを設定

Execute

development(vagrant)

bundle exec itamae ssh --vagrant --sudo -y nodes/vagrant.yml recipes/install.rb

# hr-dashのプロジェクトルートに移動(cd)し、下記のdeployコマンドを叩く
bundle exec cap vagrant deploy

bundle exec itamae ssh --vagrant --sudo -y nodes/vagrant.yml recipes/start.rb