/d2hub

Primary LanguageRubyApache License 2.0Apache-2.0

d2hub - kakao Docker Hub

kakao docker hub 입니다.

테스트 돌리기

rspec

개발 환경 (for mac)

  1. ruby 2.1.3 설치 (rvm 추천)

     curl -sSL https://get.rvm.io | bash -s stable
     rvm install ruby-2.1.3
     rvm alias create default ruby-2.1.3
    
  2. docker 설치

  3. docker-compose 설치

  4. insecure registries 등록

    "{본인 mac IP}:5002"를 insecure registries로 등록

    docker_1 docker_2

  5. git clone

     git clone git@github.com:kakao/d2hub.git
    
  6. 디렉토리 이동

     cd d2hub
    
  7. prepare_for_development.sh 실행 (docker-compose를 통해 개발에 필요한 컨테이너들 실행)

     ./prepare_for_development.sh
    
  8. bundle install 실행

     bundle install
    
  9. d2hub 서버 실행

     bundle exec rackup -p 9292
    
  10. localhost:9292 접근

     open http://localhost:9292
    

전체 구조

d2hub

License

This software is licensed under the Apache 2 license, quoted below.

Copyright 2018 Kakao Corp. http://www.kakaocorp.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this project except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.