All work on Blazorise happens directly on GitHub. All external contributors must send pull requests which will go through the review process.
To get the development and test environment set up on your local machine, you need to do the following:
- Install Jekyll for documentation (https://jekyllrb.com/docs/installation/). If installing on Windows, follow these specific instructions: https://jekyllrb.com/docs/installation/windows/.
- Install Node.JS (required for Selenium): https://nodejs.org/en/download/. Use the latest LTS, like node-v12.16.1.
- Install Java SE (required for Selenium): https://www.java.com/en/download/. Use v8 or later.
- Ensure recent build of Chrome browser installed: https://www.google.com/chrome/.
- Install selenium-standalone: https://www.npmjs.com/package/selenium-standalone#install--run
You are now ready to build and test Blazorise:
- Start a command prompt and navigate to the docs folder under Blazorise root.
- Run command:
bundle exec jekyll serve
. - Wait for build to finish and then open your browser and navigate to http://localhost:4000/
- Start a command prompt and run: selenium-standalone start. Note: this service needs to be running before you start Visual Studio, or test runs may fail.
- Open the Blazorise solution at the root folder (Blazorise.sln).
- Select Build > Build Solution on main menu. All of the projects should build sucessfully.
- Run all of the unit tests in the solution use Test > Run All Tests on main menu. They should all pass at this point.
We use separate branches for development and for all new features. After all the features are done in the seperate branch it will be merged into the master
.
Development branches follows the naming based on the milestone version number. For example if the milestone is 0.5.2
the main develop branch will be named dev052
and all feature branches will be based on dev052
. Feature branches follows the naming dev052-feature-name
.
Similar to development branches we also have branches specifically for support. After new version is released the old devNUM
branch will be removed and we will create new branch with the sup
prefix and with the numbering from dev
branch, eg. dev052
> sup052
This branch is used ONLY for bug fixes. No new features can or will be added here.
When submitting a pull request:
- Fork the repository.
- Create a branch from
dev{version-num}
and give it a meaningful name (e.g.dev{version-num}-my-awesome-new-feature
) and describe the feature or fix. - Open a pull request on GitHub.