Skip to content

Beat Saber open leaderboard

License

Notifications You must be signed in to change notification settings

BeatLeader/beatleader-website

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

38558c9 · Sep 16, 2023
Jul 16, 2023
Sep 16, 2023
Jan 1, 2023
Jul 22, 2022
Aug 19, 2021
Feb 19, 2022
Aug 16, 2022
Mar 22, 2023
Sep 2, 2023
Aug 29, 2023
Apr 4, 2021
Sep 2, 2023

Repository files navigation

BeatLeader Website

Netlify Status

Users

Just go to beatleader.xyz

Community

The BeatLeader is an unofficial community project and not officially affiliated with Beat Saber.

Devs

Install the dependencies

yarn install

Starting local build

Install netlify-cli(one time setup):

npm install netlify-cli -g

Start Netlify dev environment(every time):

netlify dev

Navigate to localhost:8888. You should see the app running. Website will reload automatically after you save your changes.

Contributing

  • Create a fork ("Fork" button on top) or ask me in Discord to add you to this repository as a developer if you plan to contribute often.
  • Create work branch ("nsgolova/rankingImprovements" for example). You can push to the master in your fork, but not in the main repository.
  • Commit and push your changes.
  • Open a pull request. Netlify will deploy a stage website for your fork and you can test it out.
  • Your pull request would be merged and changes will deploy to the website!

Building and running in production mode

By default, Netlify builds the app after every change to the master branch in the repository, so all you need is

git push

... but I don't use Netlify

Check your hosting provider's documentation.

Note that the project uses Netlify redirects to bypass CORS issues in the Beat Savior API.

Check the contents of netlify.toml and see how you can resolve this with your provider.