Thanks for contributing to Blaze ⚡! Make sure to Fork this repository into your account before making any commits.
Run the following commands to set up Blaze on your system
git clone https://github.com/<your-github-username>/blaze
git remote add upstream https://github.com/blenderskool/blaze.git
cd blaze
npm install
All development happens on the next
branch. The master
branch contains the known stable version of Blaze. To make your contributions, create a new branch from next
.
git checkout -b my-branch next
In most cases you would want to run the dev server for both frontend and backend to test your changes. Hence start the dev server by running the following command at the root of the project. This would start two servers:
- The backend server at port
3030
. - The frontend live server at port
8080
.
npm run dev
Now you can make your changes, and commit them. We don't have any specific convention as of now, but try to have a clear and summarized message for your commits. Refer https://chris.beams.io/posts/git-commit/#seven-rules for guidelines.
git add .
git commit -m "My fixes"
Sync your forked repository with the changes in this(upstream) repository
git fetch upstream
git rebase upstream/next
Push the changes to your fork.
git push origin my-branch
This is a good time, to open a pull request in this repository with the changes you have made. Make sure you open a pull request to merge to next
branch and not the master
branch directly.