Coder Social home page Coder Social logo

curationmapstarter's Introduction

CurationmapStarter

はじめに

このリポジトリは、キュレーションマップシステムの一部です。

動作要件

  • Docker
  • Docker-compose
  • Dockerをsudoなしで実行できるユーザ

Dockerをsudoなしで実行する方法

dockerグループに自分のユーザを追加して再起動

sudo groupadd docker
sudo usermod -g docker yourusername
sudo /bin/systemctl restart docker.service

sudo reboot

コンテナ構成

  • webapp
    • CurationmapViewer
    • Webサーバ
    • データベースを参照し、ブラウザ上にキュレーションマップを表示
  • mongo
    • MongoDB
    • キュレーションマップデータは全てここに格納
  • factory
    • CurationmapFactory
    • キュレーションマップ生成
    • 検索エンジンを用いて文書を収集、解析する

使用方法

  1. このリポジトリをクローンしてください。

    git clone [email protected]:JotaroAbe/CurationmapStarter.git
  2. リポジトリ直下でinit.shを実行してください。

    cd CurationmapStarter
    ./init.sh
  3. Webサーバ(webapp)を起動する場合

    ./run-webapp.sh

    その後Dockerコンテナ内で、

    ./run.sh

    とすると、Webサーバが立ち上がります。 ブラウザで、localhostにアクセスすると、閲覧が可能です。

  4. factoryを起動する場合

    ./run-factory.sh

    その後、Dockerコンテナ内で、

    ./run.sh ○○

    (○○は検索したいクエリ)とすると、キュレーションマップの記事収集とマップ作成が始まります。

    ※CurationmapFactory内のsrc/main/resources/appplication.confのbingkeyを適切なものに書き換える必要があります。

  5. 終了 Dockerコンテナ内で、

    exit

    とすると、コンテナから出ることができます。

    ./stop.sh

    で、全コンテナを終了できます。

curationmapstarter's People

Contributors

earlobe3302 avatar jotaroabe avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.