An open API service indexing awesome lists of open source software.

https://github.com/osdc/pokedc


https://github.com/osdc/pokedc

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

          

# Pokedc
Add your Pokemon entries here for them to be visible on [pokedex.osdc.dev](https://pokedex.osdc.dev/)!

## How to add entry:
1. Fork the repository by clicking on the fork button up top.
2. Clone the forked repository on your account: Click on code and then copy the link that shows up. Then go to your terminal and enter the git clone command, it should look something like this:
```
git clone https://github.com/your-name/pokedc.git
```
3. Go to the repository directory and then to cdn directory:
```
cd pokedc/cdn/
```
4. Create a file, with the name `your_enrol_no.txt`, eg. 22105251.txt
### File Structure of txt file:
- your_name;
- your_enrol_no;
- A number for your Pokemon (between 1 and 600);
- Text you want to display;

(Add a semicolon after each line)

eg:
```
Arnav;
23104173;
151;
Hello world!;
```
5. Stage your added file:
```
git add your_enrol_no.txt
```
6. Config your user for this repo:
```
git config user.email 'example@abc.xyz'
git config user.name 'your-name'
```
7. Commit your changes:
```
git commit -m "Add new Pokemon entry"
```
8. Now create your ssh token by generating using this command:
```
ssh-keygen -t ed25519 -C "your_email@example.com"
```
Go To Your SSH Path (cd.\.ssh\) must be in users->ssh folder
Now fetch the key in terminal by using the command:
```
cat id_ed25519.pub
```
Now Open github -> settings -> ssh & gpg ->add-key -> paste the key

10. Push Changes to github:
```
Fork and clone commit changes if you haven't
```
Add the remote path to your cloned repo:
```
git remote add origin git@github.com:name/pokedc.git
```
Update the changes using:
```
git fetch origin
```
12. If a Windows GitHub login pop-up appears :
proceed with the sign-in
Else (if it asks for a username, password) :
enter your GitHub username,password
13. Now push the changes:
```
git push origin main
```

14. Open a pull request: Check if everything has gone right so far and open a pull request!