Skip to content

Commit dd8c0c0

Browse files
ajomadlabsajo-airmeetjamesgeorge007
authored
docs: update readme file (#110)
* 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]>
1 parent 1514bb6 commit dd8c0c0

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

README.md

+15-11
Original file line numberDiff line numberDiff line change
@@ -33,26 +33,28 @@
3333

3434
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.
3535

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)
3737
- 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)
3942
- Now type in `cd teachcode-solutions`.
4043
- Type in `teachcode fetchtask`.
4144
- 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)
4648
- Fetch the next task with `teachcode fetchtask`.
4749

4850
## Available Commands
4951

50-
| command | description |
51-
| -------------- | ---------------- |
52-
| teachcode init | Initializes all the tasks |
52+
| command | description |
53+
| ------------------------- | ------------------------------------------------------------------------------------- |
54+
| teachcode init | Initializes all the tasks |
5355
| 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 |
5658

5759
## Contributing
5860

@@ -63,6 +65,7 @@ Contributions of any kind are welcomed. Make sure that you go through these [gui
6365
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/).
6466

6567
The full pattern is:
68+
6669
```sh
6770
type(scope?): subject #scope is optional
6871

@@ -72,6 +75,7 @@ footer? #footer is optional
7275
```
7376

7477
Following that pattern, your commit messages should look like these:
78+
7579
```sh
7680
feat: activate open collective
7781
```

0 commit comments

Comments
 (0)