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
* docs: update readme file
previously the instructions lacked step-by-step clarity
on how to use the cli properly. Now have added exact steps
that a user at any level can follow easily and get started
with the learning. Have also provided appropriate doc links
wherever necessary.
fixes#109
Signed off by: Ajo John <[email protected]>
* chore: address review comments
Signed off by: Ajo John <[email protected]>
* chore: prettify
Co-authored-by: Ajo John <[email protected]>
Co-authored-by: jamesgeorge007 <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+15-11
Original file line number
Diff line number
Diff line change
@@ -33,26 +33,28 @@
33
33
34
34
Users are required to solve 30 tasks that take them through the basic constructs of the programming language of their choice. The tasks are designed in such a way that the complexity increases as users progress through the tasks. One can't move forward until the current task is completed. Previously submitted tasks can be viewed if he/she wants but can't be worked on again.
35
35
36
-
-`teachcode` expects you to have a GitHub account. Make sure that you create one if that's not the case.
36
+
-`teachcode` expects you to have a GitHub account. Make sure that you create one if you don't have one. [Learn more - Github Signup](https://docs.github.com/en/github/getting-started-with-github/signing-up-for-a-new-github-account)
37
37
- Navigate to the directory of your choice and type in `teachcode init`.
38
-
- Follow the instructions as prompted.
38
+
- Choose your track. Currently, we provide two tracks, Python and Javascript
39
+
- Enter your name. We ask for your name mainly for greeting purpose.
40
+
- Enter your GitHub username.
41
+
- Enter your GitHub personal token with repo access. [Learn more - GitHub Personal Token](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token)
39
42
- Now type in `cd teachcode-solutions`.
40
43
- Type in `teachcode fetchtask`.
41
44
- Hurray :tada: you've got your first task.
42
-
- Now you can find a `config.json` and `task1.py` (language of choice) file within the `teachcode-solutions` directory.
43
-
- Open up your favourite editor and code up the solution.
44
-
- Now type in `teachcode submit`.
45
-
- Enter your Git credentials when prompted.
45
+
- Type in your solution for the task in the file `task1.py` (opted learning track) using any code editor of choice. We recommend using [VS Code](https://code.visualstudio.com/)
46
+
- Now type in `teachcode submit` to submit your solution.
47
+
- Enter your Git credentials when prompted. [Learn more - Git Credentials](https://docs.github.com/en/github/getting-started-with-github/getting-started-with-git)
| teachcode fetchtask [key]| Fetches the task correponding to the key if provided (defaults to the very next task) |
54
-
| teachcode submit | Submits the current task |
55
-
| teachcode showkeys | Lists all the keys associated with the submitted tasks |
56
+
| teachcode submit | Submits the current task|
57
+
| teachcode showkeys | Lists all the keys associated with the submitted tasks|
56
58
57
59
## Contributing
58
60
@@ -63,6 +65,7 @@ Contributions of any kind are welcomed. Make sure that you go through these [gui
63
65
This project uses [Commitlint](https://github.com/conventional-changelog/commitlint/#what-is-commitlint) to check if the commit messages meet the [conventional commit format](https://www.conventionalcommits.org/en/v1.0.0/).
64
66
65
67
The full pattern is:
68
+
66
69
```sh
67
70
type(scope?): subject #scope is optional
68
71
@@ -72,6 +75,7 @@ footer? #footer is optional
72
75
```
73
76
74
77
Following that pattern, your commit messages should look like these:
0 commit comments