Skip to content

Code and files for the main UT Dallas Rugby website.

License

Notifications You must be signed in to change notification settings

UTDallasRugby/website

Repository files navigation

UTDallasRugby Site

Contributing

Trunk Based Developement

Trunk Based Development Intro

Make little branches for each feature and quickly merge them into master often.

If Master ends up ahead of your branch follow this guide to rebase.

How to Fork the Repo

fork a repo

Developing Locally

npm i
npm run develop

Make your changes and see them at http://localhost:8000/

Linting

This is a good practice for a couple of reason. One better diffs between commits, also so style is consistent.

I followed this guide when I set it up if you're interested.

If you're using VSCode add this to your settings.json and it will use these settings to format things for you automatically.

settings.json

"eslint.validate": [
    {
      "language": "javascript",
      "autoFix": true
    },
    {
      "language": "javascriptreact",
      "autoFix": true
    },
    {
      "language": "typescript",
      "autoFix": true
    },
    {
      "language": "typescriptreact",
      "autoFix": true
    }
  ],

Maintenance

Things that need to be done

Updating the Calendar

Update the Google Calendar and it will update on the site.

Updating Results and Standings

Change the iframe URLs to have the new season

https://usarugbystats.com/.../2019-2020/schedule -> https://usarugbystats.com/.../2020-2021/schedule