- First clone the repository:
git clone https://github.com/v1michigan/startup-fair
. - Make sure you enter the repository through terminal
cd startup-fair
. - Create a new branch for your NEW feature:
git checkout -b [FEATURE_NAME]
.- If you want to go to an existing feature:
git checkout [FEATURE_NAME]
- If you want to go back to the main branch:
git checkout main
[FEATURE_NAME]
should be all lowercase and formatted as[f][l]--[describe-feature]
, wheref
andl
are your first and last initials.
- If you want to go to an existing feature:
- Ensure you are on Node v16 by verifying
node -v
. If you're not:- If you already have node, but a different version:
- Go to the root directory in your terminal (type
cd
and hit enter and it should take you there). - We will be deleting your existing node installations, because nvm will install its own node installations separately. It won't use your existing installation and as such it will just be wasting space on your disk. So let's remove it! If you have a reason to keep it, scroll below to the "Setup
nvm
" step. - Run
whereis node
. You should see two paths. - Use
sudo rm -rf <path>
(No angle brackets) to delete each of them (check the first answer here for more help).
- Go to the root directory in your terminal (type
- Set up
nvm
(find tutorial here or see directions in their repo here). - Run
nvm install 16
- Run
nvm use 16
to switch to Node v16. - Verify
node -v
again. If it saysv16.x.x
, it worked!
- If you already have node, but a different version:
- Install dependencies:
npm install
. We DO NOT use yarn for this. - Begin Devving:
npm run dev
. This will allow you to access a dev version of the site @localhost:3000
that will update automatically as you save files. - When you finish a part of your feature and wish to push the changes to the remote repository:
git add [changed_files]
(replacechanged_files
with the actual file names you changed)git commit -m "meaningful commit message goes here"
- Please write your commit messages in imperative present tense!
- Ensure your commit messages say why you made said changes or what the implications of the changes are, not what changes you made to the code (because anyone can see what changes by looking at the commit diffs).
git push --set-upstream origin [FEATURE_NAME]
(the next time you push to this branch you can just saygit push
).- Go to the GitHub repo page, open a pull request and put the Linear issue ID in the PR title.
- This allows Linear to automatically sync the status of the issue with the PR's status.
- Request approval from a senior member of the Platform team.
- Once it's approved, merge your PR and ship your changes! 🎉
-
Notifications
You must be signed in to change notification settings - Fork 0
V1Michigan/startup-fair
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published