Skip to content

CoderAmbar/PokeDec

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pokedc

Add your Pokemon entries here for them to be visible on 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 '[email protected]'
    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 "[email protected]"
    

    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

  9. 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 [email protected]:name/pokedc.git
    

    Update the changes using:

       git fetch origin
    
  10. 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

  11. Now push the changes:

        git push origin main
    
  12. Open a pull request: Check if everything has gone right so far and open a pull request!

Releases

No releases published

Packages

No packages published