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

Latest commit

 

History

History
History
60 lines (42 loc) · 2.35 KB

File metadata and controls

60 lines (42 loc) · 2.35 KB
Copy raw file
Download raw file
Outline
Edit and raw actions

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.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.