This small web app tracks the odds of finding shiny Pokémon using different hunting strategies in each offical Pokémon game. A live version can be found here.
This project was bootstrapped with Create React App.
These instructions will get you a copy of the project working on your local machine for development.
You must have npm installed, since this is used to manage and install the required JavaScript packages.
First clone the repository and install package dependencies with npm:
git clone https://github.com/huderlem/shiny-pokemon-tracker.git
cd shiny-pokemon-tracker
npm install
After installing the project, you can run the web app on your local machine. The following command will run the app at http://localhost:3000/:
npm start
All source code lives in the src
directory. This project makes heavy use of React to drive the user interface.
To deploy the app, you will first need to build the app, which will perform optimizations and bundle everything into a few compact files.
npm run build
This will place the output into the build
directory. From there, you can copy the build
directory to the root of your webserver. If you wish to deploy the app to a location on the webserver that isn't the root, you need to add the following line to package.json
:
"homepage": "http://www.mywebsite.com/desired/path/to/app"
See Create React App's README for more information.