Octobox (Dropbox와 제휴, Evernote 같은?)의 이미지를 만들었다

참고


  • asm-products/octobox · GitHub
  • Octobox·Dropbox와 연동하는 Evernote 클론 MOONGIFT

  • 실행 방법


    docker run -it -d -p 3000:3000 tukiyo3/octobox
    

  • http://ipaddress:3000 방문
  • Not a member? Create an account → 를 클릭하여 Octobox 계정을 만듭니다. (암호가 8자 이상)

  • Please connect your Dropbox account to start using Octobox - and have fun!

    에서 connect your Dropbox account 링크를 클릭하십시오.

    화면





    redis-server 기동 대기로 에러가 나옵니다만, 1분 정도 기다리면 됩니다.








  • Dropbox > アプリ > Octobox Dev 에 데이터가 저장되었습니다.

  • Dockerfile



    Dockerfile
    FROM ruby:slim
    
    RUN \
      unlink /etc/localtime ;\
      ln -s /usr/share/zoneinfo/Japan /etc/localtime ;\
      sed -i -e 's@http://archive@http://jp.archive@' /etc/apt/sources.list
    RUN apt-get update -qq
    RUN apt-get install -y -qq \
      git locales build-essential libicu-dev cmake pkg-config libsqlite3-dev ruby-execjs
    RUN locale-gen ja_JP.UTF-8
    
    RUN (cd /srv && git clone https://github.com/asm-products/octobox.git)
    WORKDIR /srv/octobox
    RUN apt-get install -y -qq \
      npm mongodb-server redis-server
    RUN npm install -g bower
    RUN npm install -g grunt-cli
    RUN gem install sass
    RUN apt-get install -y -qq \
      nodejs-legacy
    RUN npm update -g npm
    RUN npm update -g bower
    RUN npm update -g grunt-cli
    RUN npm install
    RUN sed -i -e '/angular-ui-codemirror/d' bower.json
    RUN bower install --allow-root
    EXPOSE 3000
    CMD service mongodb start && service redis-server start && grunt
    

    빌드시 빠진 점


    bowser install --allow-root 에서 이하 확인이 나왔다.

    Unable to find a suitable version for codemirror, please choose one:
    1) codemirror#master which resolved to 0dc38d151d and is required by octobox
    2) codemirror#3 || 4 which resolved to 4.13.0 and is required by angular-ui-codemirror#0.1.6

    Prefix the choice with ! to persist it to bower.json

    ? Answer: 1

    와 입력 대기로 멈추기 때문에 sed에서 bower.jsonangular-ui-codemirror 를 지우고 있습니다.

    좋은 웹페이지 즐겨찾기