<commit_before># Team 2984 Website
This site is built with [Gatsby](https://www.gatsbyjs.org/), a static site generator for [React](https://reactjs.org/).

For help with Git, Github, HTML, CSS, or Markdown, visit these sites:
- [Markdown help](https://towardsdatascience.com/the-ultimate-markdown-cheat-sheet-3d3976b31a0)
- [Git help](https://www.notion.so/Introduction-to-Git-ac396a0697704709a12b6a0e545db049)
- [Github help](https://www.notion.so/Introduction-to-GitHub-202af6f64bbd4299b15f238dcd09d2a7)
- [HTML help](https://www.w3schools.com/html/)
- [CSS help](https://www.w3schools.com/css/)

## Contributing to the Website
First, you'll need to install:
- [Git](https://git-scm.com/) for revision control
- [Node.js](https://nodejs.org/en/) for language support
- [VS Code](https://code.visualstudio.com/) or another text editor with syntax highlighting

Then:
1. After making a Github account (or using a pre-existing one) fork the website from [this repository](https://github.com/FRCTeam2984/website.git).

2. Use the terminal to clone your forked repository.
  This command will typically look like this:
```bash
git clone https://github.com/{username}/website.git
```
The https link can be easily copied from the repository page on Github.

3. Change into the project directory using git bash or a Linux terminal:
```bash
cd path/to/website
```
4. Install dependencies:
```bash
npm install
```
5. Open VSCode and begin editing:
```bash
code .
```

6. When fully deployed, the site is hosted on Github pages. However, when developing the site, the local development server is used. Run this command to see your changes to the website in real time (Note: this does not edit the site for other people to see, just the user of the local machine):
```
npm run develop
```
The site will be hosted at `localhost:8000/`.

7. When done with making changes, commit them:
```bash
git add .
git commit -m {message}
```
8. Add your repo as a remote:
```bash
# be sure you're in the website working directory!
git remote add team https://github.com/{username}/website.git
```
9. Then, push to your own GitHub repository:
```bash
git push origin master
```
10. Finally, create a pull request by clicking the "New pull request" button on the [team's GitHub repo](https://github.com/FRCTeam2984/website). Congrats, you just edited the website! 😎😎🤗🤗

## Handling Multiple Branches 🌿🌿
- After awhile, the team repo and your own will diverge. Update your local repository as follows.

- First, add the team's repo as a remote:
```bash
# be sure you're in the website working directory!
git remote add team https://github.com/FRCTeam2984/website.git
```

- Next, merge changes onto a newly-created branch.
```bash
# create a branch and check it out
git checkout -b upstream
# pull changes
git pull team master
# You may need to handle merge conflicts
# checkout master
git checkout master
# merge changes
git merge upstream
# delete branch
git branch -d upstream
```
- The website will be automatically deployed after a change to the repository. Click on the `Actions` tab to see the status of the deployment.

## 🧐 What's inside?<commit_msg>Mess up README and redo<commit_after># Team 2984 Website
This site is built with [Gatsby](https://www.gatsbyjs.org/), a static site generator for [React](https://reactjs.org/).

For help with Git, Github, HTML, CSS, or Markdown, visit these sites:
- [Markdown help](https://towardsdatascience.com/the-ultimate-markdown-cheat-sheet-3d3976b31a0)
- [Git help](https://www.notion.so/Introduction-to-Git-ac396a0697704709a12b6a0e545db049)
- [Github help](https://www.notion.so/Introduction-to-GitHub-202af6f64bbd4299b15f238dcd09d2a7)
- [HTML help](https://www.w3schools.com/html/)
- [CSS help](https://www.w3schools.com/css/)

## Contributing to the Website
First, you'll need to install:
- [Git](https://git-scm.com/) for revision control
- [Node.js](https://nodejs.org/en/) for language support
- [VS Code](https://code.visualstudio.com/) or another text editor with syntax highlighting

Then:
1. After making a Github account (or using a pre-existing one) fork the website from [this repository](https://github.com/FRCTeam2984/website.git).

2. Use the terminal to clone your forked repository.
  This command will typically look like this:
```bash
git clone https://github.com/{username}/website.git
```
The https link can be easily copied from the repository page on Github.

3. Change into the project directory using git bash or a Linux terminal:
```bash
cd path/to/website
```
4. Install dependencies:
```bash
npm install
```
5. Open VSCode and begin editing:
```bash
code .
```

6. When fully deployed, the site is hosted on Github pages. However, when developing the site, the local development server is used. Run this command to see your changes to the website in real time (Note: this does not edit the site for other people to see, just the user of the local machine):
```
npm run develop
```
The site will be hosted at `localhost:8000/`.

7. When done with making changes, commit them:
```bash
git add .
git commit -m {message}
```
8. Add your repo as a remote:
```bash
# be sure you're in the website working directory!
git remote add origin https://github.com/{username}/website.git
```
9. Then, push to your own GitHub repository:
```bash
git push origin master
```
10. Finally, create a pull request by clicking the "New pull request" button on the [team's GitHub repo](https://github.com/FRCTeam2984/website), pressing `Compare across forks`, and pressing `Create pull request`. Congrats, you just edited the website! 😎😎🤗🤗

## Handling Multiple Branches 🌿🌿
- After awhile, the team repo and your own will diverge. Update your local repository as follows.

- First, add the team's repo as a remote:
```bash
# be sure you're in the website working directory!
git remote add team https://github.com/FRCTeam2984/website.git
```

- Next, merge changes onto a newly-created branch.
```bash
# create a branch and check it out
git checkout -b upstream
# pull changes
git pull team master
# You may need to handle merge conflicts
# checkout master
git checkout master
# merge changes
git merge upstream
# delete branch
git branch -d upstream
```
- The website will be automatically deployed after a change to the repository. Click on the `Actions` tab to see the status of the deployment.

## 🧐 What's inside?
{'fraction_non_alphanumeric': 0.10871277769024736, 'fraction_numerical': 0.026154088545769654, 'mean_word_length': 4.370558375634518, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 30, 'lorem ipsum': 0, 'www.': 10, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6730321', 'n_tokens_mistral': 2088, 'n_tokens_neox': 1878, 'n_words': 812}