Skip to content

Commit 955c98c

Browse files
authored
Create CONTRIBUTING.md
1 parent ffab6a1 commit 955c98c

File tree

1 file changed

+71
-0
lines changed

1 file changed

+71
-0
lines changed

CONTRIBUTING.md

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
# Contributing
2+
3+
> #### Table of Contents
4+
> - [Running Locally](#running-locally)
5+
> - [Creating a Pull Request](#creating-a-pull-request)
6+
7+
## Running Locally
8+
9+
1. Fork this repository.
10+
11+
2. Clone your forked repo to your machine.
12+
13+
```bash
14+
git clone https://github.com/<your-username>/tracers.git
15+
```
16+
17+
3. Install [Docker](https://docs.docker.com/install/), if not already installed.
18+
19+
4. Install dependencies, and build executables.
20+
21+
```bash
22+
cd tracers
23+
24+
npm install
25+
26+
npm run build
27+
```
28+
29+
5. Run executables.
30+
31+
```bash
32+
# Build visualization libraries
33+
./bin/build
34+
35+
# Build a visualization library for a specific language.
36+
./bin/build cpp
37+
38+
# Create library documentations.
39+
./bin/docs /path/to/destination/
40+
41+
# Compile users' codes.
42+
./bin/compile cpp /path/to/code/
43+
44+
# Run users' codes.
45+
./bin/run cpp /path/to/code/
46+
47+
# Release a new version.
48+
GITHUB_TOKEN=personal_access_token ./bin/release
49+
```
50+
51+
## Creating a Pull Request
52+
53+
6. Create a branch addressing the issue/improvement you'd like to tackle.
54+
55+
```bash
56+
git checkout -b my-problem-fixer-branch
57+
```
58+
59+
7. Write some awesome code.
60+
61+
8. Commit the changes, and push them to `my-problem-fixer-branch` branch on your forked repo.
62+
63+
```bash
64+
git add .
65+
66+
git commit -m "Explain my awesome changes"
67+
68+
git push origin my-problem-fixer-branch
69+
```
70+
71+
9. Create a pull request from `my-problem-fixer-branch` branch on your forked repo to `master` branch on the main repo.

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