Getting Started
This assumes you are comfortable with the terminal and have installed npm.
- First clone the GitHub repository
cdinto./SnailSiteand runnpm ito initialize all dependencies- Enter
npm run devto start the website athttp://localhost:5173
Warning
When you are updating the website, DO NOT commit directly to main. Instead, enter git checkout -b new-branch-name to create a new branch to push to. After committing, you would run git push origin new-branch-name to publish that new branch. Vercel will automatically create a testing deployment that you can access to make sure your changes deployed correctly.
Tip
If you are the only one who is updating the website (i.e., there are no concurrent changes), then I recommend that you use the dev branch already set up to make your changes.
When you are ready to merge your changes to the live website (at frc1257.org), make a pull request and accept the changes that way. Make sure the pull request is descriptive enough to document what you actually modified.