Website for the UCSD AKPsi's 2024 rush process.
Follow these instructions to set up the project.
Open your terminal (Command Prompt, PowerShell, or another terminal).
Clone the project repository by running the following command:
git clone https://github.com/sdakpsi/RushWebsite
If you get an error indicating that git
is not recognized, you will need to install Git. Follow the instructions here: Installing Git.
Navigate into the project folder (it will be named after the repository)
cd RushWebsite
Run the following command to install necessary dependencies:
npm install
If you encounter issues with npm
not being recognized, you may need to install Node.js and npm. You can do so here: Download Node.js.
Before running the project, check which branch you are on by running:
git branch
You should typically be on the dev
branch for development work.
.env.local
Run the following command to start the development server:
npm run dev
Once the server starts, open your browser and go to http://localhost:3000
. This will allow you to see the website running locally on your machine.
There are two primary branches you should be aware of:
When you are ready to work on an issue, switch to the correct branch, likely dev
. You can do this by running:
git checkout dev
To work on an issue, create a new branch specific to that task. An example is aj-dev-fixing-colors
git checkout -b <branch-name>
This creates a new branch and switches you to it so that you can make changes specific to your issue.
As you work, you should regularly test the changes. Run:
npm run dev
Open http://localhost:3000
in your browser to make sure everything works as expected.
Once you’ve finished working on your issue and verified that it works:
Stage your changes by running:
git add .
Commit your changes with a message describing what you’ve done:
git commit -m "<commit-message>"
Push your changes to the repository:
git push
dev
, and not main
. It should look like this: dev <- <your-branch>
.You have now successfully contributed to the project! 🎉