Our website is open source! There is a lot of info you need to know to contribute, including best practices when coding, the process of code reviews, and (especially if you're new to web dev or git) set up. Please read through this whole README if you would like to contribute to our package!
If you want to write code for our package, after you've gone through these steps make sure to look through our contributing guidelines to understand what the procedure for that looks like.
- Make sure you have
gitinstalled. Then open a terminal ingit bash(this should be an app on your computer). - Make sure you have
node.jsinstalled. You should install the long term support (LTS) version that is recommended. Please make sure yournodeversion is at least20.11.1and yournpmversion is at least10.7.0. You can check this by running the following command ingit bash:
node -v && npm -v
- Create a GitHub account and follow these steps for configuring
gitto your GitHub. Please make sure you've done these steps correctly. You can verifygitis connected to the right account by running the following command ingit bash. This should print out the name you set and the email address associated with your GitHub account.
git config --get user.email && git config --get user.name
-
Clone the repository to a directory on your computer as described here
-
Install dependencies. Navigate to the newly-cloned package via terminal by running
cd PCS-Website(or a different package name/path if you named it differently or switched directories). Once inPCS-Website, run the following commandnpm install && npm run dev -
Make sure the site runs correctly. A link should appear in your terminal that looks like this
Local: http://localhost:5173/. Open that link in your browser (keep in mind your link may not have5173) at the end. You should see the current draft of the PCS website running!