You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-11Lines changed: 19 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,11 +58,11 @@ Once pnpm is installed, you can navigate to the project directory and run the fo
58
58
59
59
3. Install dependencies: To install the necessary dependencies for the project, navigate to the project directory and run the following command:
60
60
**`pnpm install`**
61
-
4. Navigate to the **`src/data`** directory.
62
-
5.Open the **`Profile.json`** file.
63
-
6. Add your profile data: Copy the following JSON object, edit your details, and paste it in the middle of the **`Profile.json`** file. Make sure to follow the existing structure:
64
-
65
-
```json
61
+
4. Navigate to the **`public/data`** folder in your project directory.
62
+
5.Create a new JSON file named **`your_github_username.json`**(replace your_github_username with your actual GitHub username). Open the file you just created.
63
+
7. Add the following JSON object, replacing the placeholder values with your own details:
64
+
65
+
```json
66
66
{
67
67
"name": "Your Name",
68
68
"location": "Your Location",
@@ -77,11 +77,19 @@ Once pnpm is installed, you can navigate to the project directory and run the fo
77
77
}
78
78
},
79
79
```
80
-
81
-
**`Note:`** Copy the above code, edit your details, and paste it in the middle (not at the top or bottom). It doesn't matter where you add your profile, it will appear randomly on the website.
82
-
83
-
7. Save the changes to the **`Profile.json`** file.
84
-
8. Create a new branch: To create a new branch for your profile, run the following command:
80
+
8. Save the **`your_github_username.json`** file.
81
+
9. Navigate to the **`src`** folder in your project directory. Open the **`ProfilesList.json`** file.
82
+
11. Add your JSON filename (your_github_username.json) to the array of filenames in the ProfileList.json file, like this:
83
+
```json
84
+
[
85
+
"filename1.json",
86
+
"filename2.json",
87
+
"your_github_username.json"
88
+
]
89
+
90
+
```
91
+
12. Save the **`ProfileLists.json`** file.
92
+
13. Create a new branch: To create a new branch for your profile, run the following command:
85
93
**`git checkout -b add-profile`**
86
94
9. Commit your changes: To save your changes to the branch, run the following command:
87
95
**`git commit -m "add: <your-name>"`**
@@ -107,4 +115,4 @@ Contributions make the open source community such an amazing place to learn, ins
107
115
## Support 🙏
108
116
109
117
Thank you for contributing to our open-source project! We appreciate your support 🚀 <br>
0 commit comments