To get a local copy up and running follow these simple steps.
- .NET 7
- Clone the repo
git clone --recurse-submodules https://github.com/kodlamaio-projects/nArchitecture.git
- Configure
appsettings.json
in WebAPI. - Run
Update-Database
command with Package Manager Console in WebAPI to create tables in sql server.
- Run the following command to update submodules
git submodule update --remote
- Run example WebAPI project
dotnet run --project src\rentACar\WebAPI
- If not, Install dotnet tool
dotnet tool restore
. - Run anaylsis command
dotnet roslynator analyze
- If not, Install dotnet tool
dotnet tool restore
. - Run format command
dotnet csharpier .
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the project and clone your local machine
- Create your Feature Branch (
git checkout -b <Feature>/<AmazingFeature>'
) - Develop
- Commit your Changes (
git add . && git commit -m '<SemanticCommitType>(<Scope>): <AmazingFeature>'
) 💡 Check Semantic Commit Messages - Push to the Branch (
git push origin <Feature>/<AmazingFeature>
) - Open a Pull Request
Contributing on Core Packages With This Repo:
- Fork the project
- Locate to
src/corePackages
path (cd .\src\corePackages\
) - Add your forked nArchitecture.Core repository remote address (
git remote add <YourUserName> https://github.com/<YourUserName>/nArchitecture.Core.git
) - Create your Feature Branch (
git checkout -b <Feature>/<AmazingFeature>'
) - Develop
- Commit your changes (
git add . && git commit -m '<SemanticCommitType>(<Scope>): <AmazingFeature>'
) 💡 Check Semantic Commit Messages - Push to the branch (
git push <YourUserName> --set-upstream HEAD:refs/heads/<Feature>/<AmazingFeature>
) - Open a Pull Request
If your pull request is accepted and merged:
- Locate to
src/corePackages
path (cd .\src\corePackages\
) - Switch to main branch
git checkout main
- Locate root path
/
path (cd ..\..\
) - Pull repo and submodule
git submodule update --remote
- Commit your changes (
git add . && git commit -m 'build(corePackages): update submodule'
) - Push to the Branch (
git push origin <Feature>/<AmazingFeature>
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.