Add your Pokemon entries here for them to be visible on pokedex.osdc.dev!
-
Fork the repository by clicking on the fork button up top.
-
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
-
Go to the repository directory and then to cdn directory:
cd pokedc/cdn/
-
Create a file, with the name
your_enrol_no.txt
, eg. 22105251.txt-
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!;
-
-
Stage your added file:
git add your_enrol_no.txt
-
Config your user for this repo:
git config user.email '[email protected]' git config user.name 'your-name'
-
Commit your changes:
git commit -m "Add new Pokemon entry"
-
Create a temporary Personal access token :
Step 1: Go to the menu button on the top-right of GitHub.
Step 2: Settings -> Developer Settings -> Personal Access Tokens -> Tokens (classic)
Step 3: Generate New Token (classic)
Step 4: Tick [✔️] the Repo option.
Step 5: generate the token and copy it (don't close the window with the token yet) -
Push Changes to github:
git push origin main
-
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. enter the token you generated in {step 8} for the password.
-
Open a pull request: Check if everything has gone right so far and open a pull request!