Skip to content

Commit f43df56

Browse files
committed
Update documentation
1 parent eb1d19e commit f43df56

File tree

3 files changed

+23
-99
lines changed

3 files changed

+23
-99
lines changed

CONTRIBUTING.md

Lines changed: 21 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
> #### Table of Contents
44
> - [Running Locally](#running-locally)
5-
> - [Creating a Pull Request](#creating-a-pull-request)
5+
> - [Directory Structure](#directory-structure)
6+
7+
Are you a first-timer in contributing to open source? [These guidelines](https://opensource.guide/how-to-contribute/#how-to-submit-a-contribution) from GitHub might help!
68

79
## Running Locally
810

@@ -14,38 +16,29 @@
1416
git clone https://github.com/<your-username>/algorithm-visualizer.git
1517
```
1618

17-
3. Install [Docker](https://docs.docker.com/install/), if not already installed.
18-
19-
4. Install dependencies, and run the server.
19+
3. Install dependencies, and run the web app.
2020

2121
```bash
2222
cd algorithm-visualizer
2323
2424
npm install
2525
26-
npm run dev
27-
```
28-
29-
5. Open [`http://localhost:8080/`](http://localhost:8080/) in a web browser.
30-
31-
## Creating a Pull Request
32-
33-
6. Create a branch addressing the issue/improvement you'd like to tackle.
34-
35-
```bash
36-
git checkout -b my-problem-fixer-branch
26+
npm start
3727
```
38-
39-
7. Write some awesome code.
40-
41-
8. Commit the changes, and push them to `my-problem-fixer-branch` branch on your forked repo.
42-
43-
```bash
44-
git add .
4528

46-
git commit -m "Explain my awesome changes"
47-
48-
git push origin my-problem-fixer-branch
49-
```
50-
51-
9. Create a pull request from `my-problem-fixer-branch` branch on your forked repo to `master` branch on the main repo.
29+
4. Open [`http://localhost:3000/`](http://localhost:3000/) in a web browser.
30+
31+
## Directory Structure
32+
33+
- [**branding/**](branding) contains representative image files.
34+
- [**public/**](public) contains static files to be served.
35+
- [**src/**](src) contains source code.
36+
- [**apis/**](src/apis) defines outgoing API requests.
37+
- [**common/**](src/common) contains commonly used files.
38+
- [**components/**](src/components) contains UI components.
39+
- [**core/**](src/core) processes visualization.
40+
- [**layouts/**](src/core/layouts) layout tracers.
41+
- [**renderers/**](src/core/renderers) renders visualization data.
42+
- [**tracers/**](src/core/tracers) interprets visualizing commands into visualization data.
43+
- [**files/**](src/files) contains markdown or skeleton files to be shown in the code editor.
44+
- [**reducers/**](src/reducers) contains Redux reducers.

PROJECT_DETAILS.md

Lines changed: 0 additions & 69 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ We have multiple repositories under the hood that comprise the website. Take a l
1717

1818
- [**`server`**](https://github.com/algorithm-visualizer/server) serves the web app and provides APIs that it needs on the fly. (e.g., GitHub sign in, compiling/running code, etc.)
1919

20-
- [**`algorithms`**](https://github.com/algorithm-visualizer/algorithms) contains public algorithms shown on the side menu of the website.
20+
- [**`algorithms`**](https://github.com/algorithm-visualizer/algorithms) contains algorithm visualizations shown on the side menu of the website.
2121

22-
- [**`tracers.*`**](https://github.com/search?q=org%3Aalgorithm-visualizer+tracers.&type=Repositories) are visualization libaries written in each supported language. The only thing they do is to extract visualizing commands from code.
22+
- [**`tracers.*`**](https://github.com/search?q=org%3Aalgorithm-visualizer+tracers.&type=Repositories) are visualization libraries written in each supported language. The only thing they do is to extract visualizing commands from code.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy