Code Contributors/fr

So, you want to contribute code yourself like the fine folks on the list on the Main Page? Please enjoy our unreasonably detailed and long guide on how to do exactly that! Brought to you courtesy of (the amazing, wonderful, talented) Liczale who struggled to do this for almost 2 and a half hours!


 * 1) Install NodeJS
 * 2) Install Github for Desktop
 * 3) Go to the PokeClicker GitHub Website
 * 4) Click the Green button that says "Code"
 * 5) Copy the HTTPS brought up by the Code Button, by clicking the Clipboard Icon
 * 6) Open the GitHub for Desktop app
 * 7) Click "Clone a Repository from the Internet"
 * 8) Go to the "URL" tab and paste the HTTPS from the Code Button
 * 9) Add the Repository and wait for it to download
 * 10) Open the Repository Tab on the top of the screen in the Github for Desktop App
 * 11) Click "Open in Command Prompt"
 * 12) * On a Mac, this option will be called "Open in Terminal." Follow any instructions given in Terminal, then skip to step 15.
 * 13) Click "Open Without Git"
 * 14) Click "Open in CMD"
 * 15) Go to the opened instance of CMD
 * 16) Type `npm clean-install` and press Enter
 * 17) Once the Install is done type `npm start` and press Enter
 * 18) After doing that your internet browser should launch a local instance of PokéClicker
 * 19) Open File Explorer and navigate to the newly cloned directory
 * 20) * Alternatively you can go to repository in the GitHub menu and click on "Show in Explorer"
 * 21) Find and open any *.ts file you wish to edit
 * 22) If prompted, open with Notepad
 * 23) Make any changes you wish
 * 24) * To edit HTML files on a Mac, you may need to go into TextEdit preferences and make sure "Display HTML files as HTML code" is checked under the Open and Save tab
 * 25) Once you finish your changes hit Save
 * 26) Now go back to the CMD and type `npm run eslint-fix`
 * 27) * This should fix any issues with it, or it will point them out for you to fix.
 * 28) * If you're using Chrome, you can also check for errors by inspecting (right click -> Inspect) the local instance of Pokéclicker you launched earlier and looking at the Console tab
 * 29) Go back to the GitHub Desktop app
 * 30) In the bottom left put a summary of the changes in the box and hit the bottom left blue button
 * 31) * Github will recognize files marked for change
 * 32) Now you should be on the Main page, if so click the blue button that says "Push Origin"
 * 33) Fork the Repository when it asks you to
 * 34) Click "Contribute to Parent Project"
 * 35) Lastly click the button that says "View on GitHub"
 * 36) In your internet browser click "Pull Requests"
 * 37) Click the green "New Pull Request" Button
 * 38) Click "compare changes"
 * 39) Click "compare across forks"
 * 40) Press "Head Repository" select the option representing your fork
 * 41) Now hit the "Create Pull Request" button

Congratulations! You just finished your edits and published them for review! Please reach out to any of the authors found here https://github.com/orgs/pokeclicker/people