Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add API contribution section to README.md #10606

Merged
merged 5 commits into from
Dec 27, 2023

Conversation

obfuscated-loop
Copy link
Collaborator

This adds a section to the README file with a simple explanation of what the API is and how to contribute.

@obfuscated-loop
Copy link
Collaborator Author

obfuscated-loop commented Dec 27, 2023

I'll start making PRs to that repo too - just wondering, have you got a brief setup guide for hosting it locally/in dev mode? I see that a token is needed, is the GitHub API all free etc?

@OhMyGuus
Copy link
Owner

OhMyGuus commented Dec 27, 2023

I'll start making PRs to that repo too - just wondering, have you got a brief setup guide for hosting it locally/in dev mode? I see that a token is needed, is the GitHub API all free etc?

The github api is all free to use you can get you're token from:
https://github.com/settings/tokens

To add the token please use user-secrets, to make sure you don't push it by accident.
On vscode you can use:
https://marketplace.visualstudio.com/items?itemName=adrianwilczynski.user-secrets
or using visual studio right click the project and then manage user secrets

after that a json will open and then u can just paste:
{
"GithubConfiguration": {
"RepoOwner": "OhMyGuus",
"RepoName": "I-Still-Dont-Care-About-Cookies",
"Token": "TOKENHERE"
}
}

After u have changed that u can just use dotnet run, or just start it within visual studio (U might have to select IIS express at the green > start button instead of docker)

Will make a cleaner tutorial later xD

And thanks for the contributions :D!

README.md Outdated Show resolved Hide resolved
@OhMyGuus OhMyGuus merged commit 21f1b5b into OhMyGuus:master Dec 27, 2023
1 check passed
@obfuscated-loop obfuscated-loop deleted the patch-1 branch January 16, 2024 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants