-
Clone repository
Fire up your terminal and clone the repository using SSH wherever you might want to on your computer
git clone [email protected]:webaquebec/webaquebec.git
-
Install packages 📦
Navigate into the site’s directory and install packages
cd webaquebec/ yarn install
-
Create a new feature or fix branch
git checkout -b my-feature-branch
-
Start developing 👩💻
Start it up (Never stop, never stop...)
yarn develop
-
Open the code and have fun!🤘
The site is now running at http://localhost:8000!
Edit
src/pages/index.js
to see your site update in real-time!
Whenever possible, try to commit your changes as soon as you have a small piece of code working. We're following conventional commits in order to standardize our commit messages. We're using commitizen with gitmoji as tools to apply those conventions.
-
Commit your changes
yarn commit
-
Select the type of change
? Select the type of change you're committing: seed 🌱 Adding or updating seed files. flags 🚩 Adding, updating, or removing feature flags. animation 💫 Adding or updating animations and transitions. ❯ style 🎨 Improving structure / format of the code. perf ⚡️ Improving performance. prune 🔥 Removing code or files. fix 🐛 Fixing a bug. (Move up and down to reveal more choices)
-
Select a scope (Not necessary at that stage. Press Enter to skip that one)
? Select the type of change you're committing: ui 💄 Updating the UI and style files. ? Specify a scope:
-
Write a short description
Make your commit messages meaningful using a semantic style
? Select the type of change you're committing: ui 💄 Updating the UI and style files. ? Specify a scope: ? Write a short description: Adjust button padding (40/75 characters)
-
Provide a longer description (optional. Press Enter to skip that one)
? Select the type of change you're committing: ui 💄 Updating the UI and style files. ? Specify a scope: ? Write a short description: :lipstick: Adjust button padding ? Provide a longer description:
-
Provide a longer description in case of a BREAKING CHANGE commit (Press Enter to skip that one if not applicable)
? Select the type of change you're committing: ui 💄 Updating the UI and style files. ? Specify a scope: ? Write a short description: :lipstick: Adjust button padding ? A BREAKING CHANGE commit requires a body. Please enter a longer description of the commit itself:
-
List any issue closed by indicating their respective id number (Press Enter to skip that one if not applicable)
? Select the type of change you're committing: ui 💄 Updating the UI and style files. ? Specify a scope: ? Write a short description: :lipstick: Adjust button padding ? A BREAKING CHANGE commit requires a body. Please enter a longer description of the commit itself: ? List any issue closed (#1, #2, ...):
-
You're done!
-
Once you commit all your changes, now you're ready to push your branch to the remote repository.
git push origin my-feature-branch
-
Go to the repository and make a Pull Request.