Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Aug 11, 2019. It is now read-only.

sciruby-jp/sciruby-jp.reactapp

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sciruby-jp.reactapp

sciruby-jp.github.ioは、Rubyにおける科学技術計算/データ可視化ライブラリの現状をまとめたWebページです。

React.jsとcytoscape.jsを用いて作成しています。

開発方法

以下のコマンドを実行することで、開発サーバーが起動します。

$ npm install
$ npm start

本文に文章を追加する

src/contents.mdを編集することで、ページに表示されている文章を変更することができます。

ライブラリの関係性グラフの更新

ライブラリの関係性グラフは、src/ruby.jsonsrc/python.jsonの2つのファイルから生成されています。 また、src/ruby.jsonsrc/python.jsonの2つのファイルは、src/library_graph.jsonの内容を元に生成されています。

関係性グラフにライブラリを追加するには、src/library_graph.jsonに追記し、src/ruby.jsonsrc/python.jsonを再生成する必要があります。

src/library_graph.jsonに追記する

Rubyのライブラリを追加するには、src/library_graph.jsonの、"ruby_libraries"キーの中に、

    {
      "name": "some_ruby_library",
      "github": "https://github.com/repository_owner/some_ruby_library",
      "group": "computing"
    },

のようなHashを追記します。

また、ライブラリ間の関係を表す線を追加するには、"ruby_edges"キーの中に、

    {
      "source": "library_name_using_target_library",
      "target": "library_name_used_by_source_library",
      "description": "library description",
      "type": "${depends|optional}"
    },

のようなHashを追記します。

src/ruby.json src/python.jsonの生成

これらのファイルを再生成するには、以下のコマンドを実行します。

$ npm install
$ node src/generate_json.js ${your_github_id} ${your_github_password} # githubレポジトリのスター数を取得するため

About

source code of sciruby-jp.archive

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  
Morty Proxy This is a proxified and sanitized view of the page, visit original site.