yum install gcc-c++ patch readline readline-devel zlib zlib-devel yum install libyaml-devel libffi-devel openssl-devel make yum install bzip2 autoconf automake libtool bison iconv-devel sqlite-devel
curl -sSL https://rvm.io/mpapis.asc | gpg --import - curl -L get.rvm.io | bash -s stable source /etc/profile.d/rvm.sh rvm reload
rvm requirements run
rvm install ruby-2.2.5
rvm use 2.2.5 --default
ruby --version ruby 2.2.5p319 (2016-04-26 revision 54774) [x86_64-linux]
yum install -y python nodejs
gem install jekyll gem install bundler cd /home git clone https://github.com/chesterhow/tale.git
cd /home/tale gem install jekyll-paginate
jekyll serve -w -H 1.123.123.123 Configuration file: /home/tale/_config.yml Source: /home/tale Destination: /home/tale/_site Incremental build: disabled. Enable with --incremental Generating... done in 0.767 seconds. Auto-regeneration: enabled for '/home/tale' Server address: http://1.123.123.123:4000/tale/ Server running... press ctrl-c to stop. 여기서 -w 옵션을 주면 /home/tale/_posts/*.md 파일이 변경될때마다 바로바로 웹페이지에 적용되는것을 확인할수있다.