<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>홍진우</title>
  <link rel="alternate" type="text/html" href="https://www.fishingproductfr.com/@@Kqr" />
  <author>
    <name>hjinu</name>
  </author>
  <subtitle>생각하고, 개발하고, 페달링하고</subtitle>
  <id>https://brunch.co.kr/@@Kqr</id>
  <updated>2015-11-02T03:42:30Z</updated>
  <entry>
    <title>[Rails] 불필요한 검색 인덱싱 줄이기 - elasticsearch-rails Gem에서 일어나는 인덱싱 줄이기</title>
    <link rel="alternate" type="text/html" href="https://www.fishingproductfr.com/@@Kqr/8" />
    <id>https://brunch.co.kr/@@Kqr/8</id>
    <updated>2021-05-28T10:41:00Z</updated>
    <published>2017-06-11T08:05:22Z</published>
    <summary type="html">Rails 환경에서 full-text&amp;nbsp;검색을 위해 elasticsearch를 사용하고 있는데, 계속 찜찜하게 묵혀두고 있던 채무가 있었다. 모든&amp;nbsp;API 요청당 elasticsearch 인덱싱이 한 번씩 일어난다는 점이었다. 문제는 아래와 같이 일어난다.  1.&amp;nbsp;Rails 프로젝트에서 회원 관리를 위해 Devise Gem을 사용 중이다. 2. Devise G</summary>
  </entry>
  <entry>
    <title>irb 한글 입력 문제 해결 - interactive ruby에서 한글 입력이 안될 때</title>
    <link rel="alternate" type="text/html" href="https://www.fishingproductfr.com/@@Kqr/7" />
    <id>https://brunch.co.kr/@@Kqr/7</id>
    <updated>2016-01-21T07:59:44Z</updated>
    <published>2016-01-21T07:59:44Z</published>
    <summary type="html">$&amp;nbsp;irb --noreadline 로 실행해주면 된다.  항상 치기 귀찮으니 alias irb=&amp;quot;irb --noreadline&amp;quot; 라고 ~/.bash_profile에 적어준다. (Ubuntu의 경우 ~/.bashrc , zsh을 사용한다면 ~/.zshrc 에 입력하면 된다.)</summary>
  </entry>
  <entry>
    <title>Rails 프로젝트 travis-ci 연동하기</title>
    <link rel="alternate" type="text/html" href="https://www.fishingproductfr.com/@@Kqr/6" />
    <id>https://brunch.co.kr/@@Kqr/6</id>
    <updated>2016-12-29T17:10:46Z</updated>
    <published>2016-01-20T08:14:15Z</published>
    <summary type="html">CI (Continuous Integration)은 코드 품질 유지를 위해 &amp;nbsp;팀의 작업내역을 지속적으로 자주 통합하는 프로세스를 말한다. 통합이 늦어지면 그에 따른 비용도 증가하기 때문에, 빠른 통합을 통해서 시스템의 문제를 빠르게 발견하고 해결할 수 있게 된다.  CI를 위해서 중요한 것은 자동화된 빌드와 자동화된 테스트인데 이를 위해 진행 중인 프로젝트</summary>
  </entry>
  <entry>
    <title>postgres 데이터베이스 백업</title>
    <link rel="alternate" type="text/html" href="https://www.fishingproductfr.com/@@Kqr/4" />
    <id>https://brunch.co.kr/@@Kqr/4</id>
    <updated>2016-01-18T17:04:52Z</updated>
    <published>2016-01-18T17:00:59Z</published>
    <summary type="html">postgres 데이터베이스를 백업할 땐 다음과 같이 한다.  $&amp;nbsp;pg_dump 'database_name' &amp;gt; dump.sql  위와 같이 백업해둔 sql 파일은 아래와 같이 복구할 수 있다.  $ psql 'database_name' &amp;lt;&amp;nbsp;dump.sql  두 명령어 모두  -U 'username' : 유저네임 입력-W : 비밀번호 입력-h 'host'</summary>
  </entry>
  <entry>
    <title>postgres 유저 비밀번호 변경</title>
    <link rel="alternate" type="text/html" href="https://www.fishingproductfr.com/@@Kqr/3" />
    <id>https://brunch.co.kr/@@Kqr/3</id>
    <updated>2018-08-28T01:45:59Z</updated>
    <published>2016-01-18T15:18:49Z</published>
    <summary type="html">postgres 설치 후  sudo su - postgres  로 유저 변경 후, psql 명령어를 통해 postgres 콘솔에 진입  alter user postgres with password '1234';  위와 같은 명령어로 비밀번호를 변경한다.</summary>
  </entry>
</feed>
