Skip to content

Commit

Permalink
📝 Added example case for local setup #38
Browse files Browse the repository at this point in the history
📝 Added example case for local setup #38
  • Loading branch information
kaustubhgupta authored Jul 31, 2021
2 parents c22f72d + ba72e3c commit 75f4819
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 8 deletions.
14 changes: 10 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,17 @@ pip install -r requirements.txt
- Therefore, you need to use `localtestingfile.py` which doesn't push the file to the repository. It only writes the index file to the root folder.

- To successfully run this file, pass arguments as:
```python
python localTestingFile.py <gh_token> <theme> <blogs> <hackathons> <stats_choice> <current_repo_path> <current_repo_branch> <resume_link> <allow_footer> <project_sort_by> <stats_customization> <social_links>
```
```python
python localTestingFile.py <gh_token> <theme> <blogs> <hackathons> <stats_choice> <current_repo_path> <current_repo_branch> <resume_link> <allow_footer> <project_sort_by> <stats_customization> <social_links>
```

_Note: For `current_repo_path`, `stats_customization`, and `current_repo_branch`, input any random string. These parameters are disabled for local testing file. Stats customization is under development_

_Note: For `current_repo_path` and `current_repo_branch`, input any random string. These parameters are disabled for local testing file_
Example case:

```bash
python localTestingFile.py fknkfnnds 1 true true 3 dadas dsd 'https://drive.google.com/file/d/jfksdnfkdsn' true 'forks', dnsas, "https://www.linkedin.com/in/kaustubh-gupta/, https://twitter.com/Kaustubh1828, https://medium.com/@kaustubhgupta1828"
```

- The index file will be generated and now you can make changes to improve upon the webpage.

Expand Down
14 changes: 10 additions & 4 deletions docs/pages/Setting-Up-Locally.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,16 @@ pip install -r requirements.txt
- Therefore, you need to use `localtestingfile.py` which doesn't push the file to the repository. It only writes the index file to the root folder.

- To successfully run this file, pass arguments as:
```python
python localTestingFile.py <gh_token> <theme> <blogs> <hackathons> <stats_choice> <current_repo_path> <current_repo_branch> <resume_link> <allow_footer> <project_sort_by> <stats_customization> <social_links>
```
```python
python localTestingFile.py <gh_token> <theme> <blogs> <hackathons> <stats_choice> <current_repo_path> <current_repo_branch> <resume_link> <allow_footer> <project_sort_by> <stats_customization> <social_links>
```

_Note: For `current_repo_path`, `stats_customization`, and `current_repo_branch`, input any random string. These parameters are disabled for local testing file. Stats customization is under development_

_Note: For `current_repo_path` and `current_repo_branch`, input any random string. These parameters are disabled for local testing file_
Example case:

```bash
python localTestingFile.py fknkfnnds 1 true true 3 dadas dsd 'https://drive.google.com/file/d/jfksdnfkdsn' true 'forks', dnsas, "https://www.linkedin.com/in/kaustubh-gupta/, https://twitter.com/Kaustubh1828, https://medium.com/@kaustubhgupta1828"
```

- The index file will be generated and now you can make changes to improve upon the webpage.

0 comments on commit 75f4819

Please sign in to comment.