>> https://osleague.tools <<
Your hub for all your OSRS leagues needs - calculators, relics info, task tracking and planning, and more!
Looking for more info, or have a bug report or suggestion? Check out the Discord server.
New contributors are always welcome. If you're interested in helping develop the site, take a look at the issue tracker to see what kind of things we are working on, and come by the Discord to chat about what you'd like to help with.
This project uses pre-commit hooks with ESLint and Prettier to maintain a consistent code style.
To build and start up locally, run:
npm install
npm run dev
and open http://localhost:3000 to view it in the browser.
All styling is done using TailwindCSS utility classes. Unused CSS classes are pruned by tailwind's preprocessor, so if you add any classes that don't already exist somewhere in the project, you'll need to regenerate the compiled CSS to see it reflected in the site.
Styles are always regenerated during the dev build step, or you can manually regenerate them with:
npm run build:styles
Some functionality (hiscores, submitting feedback, anything to do with user data) relies on the Reldo backend API. If you need to test any of these features during local development, you will can either:
- To develop against a local version of the API, clone osrs-reldo-api and start it up. The app will look for it on port 8080 by default.
- Or if you just want to hit the prod endpoint, create a
.env
file in this project's root folder and add the env variable:REACT_APP_RELDO_URL=https://osrs-reldo-api.herokuapp.com