1 Star 0 Fork 39

liangcc / algorithm-visualizer

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
CONTRIBUTING.md 2.35 KB
一键复制 编辑 原始数据 按行查看 历史
Jason Park 提交于 2019-07-07 03:06 . Fix .gitpot.yml

Contributing

Table of Contents

Are you a first-timer in contributing to open source? These guidelines from GitHub might help!

Running Locally

  1. Fork this repository.

  2. Clone your forked repo to your machine.

    git clone https://github.com/<your-username>/algorithm-visualizer.git    
  3. Choose whether to run server on your machine or to use the remote server.

    • If you choose to run the server locally as well, follow the instructions here.

    • If you choose to use the remote server, temporarily (i.e., don't commit this change) modify package.json as follows:

      - "proxy": "http://localhost:8080",
      + "proxy": "https://algorithm-visualizer.org",
  4. Install dependencies, and run the web app.

    cd algorithm-visualizer
    
    npm install
    
    npm start
  5. Open http://localhost:3000/ in a web browser.

Running in Gitpod

You can also run algorithm-visualizer in Gitpod, a free online dev environment for GitHub.

Open in Gitpod

Directory Structure

  • branding/ contains representative image files.
  • public/ contains static files to be served.
  • src/ contains source code.
    • apis/ defines outgoing API requests.
    • common/ contains commonly used files.
    • components/ contains UI components.
    • core/ processes visualization.
      • layouts/ layout tracers.
      • renderers/ renders visualization data.
      • tracers/ interprets visualizing commands into visualization data.
    • files/ contains markdown or skeleton files to be shown in the code editor.
    • reducers/ contains Redux reducers.
1
https://gitee.com/liangchangchun/algorithm-visualizer.git
git@gitee.com:liangchangchun/algorithm-visualizer.git
liangchangchun
algorithm-visualizer
algorithm-visualizer
master

搜索帮助