This is a repository intended to serve as a starting point if you want to bootstrap a project in C# and dotnet.
It could be useful if you want to start from scratch a kata or a little exercise or project.
We recommend to follow the next step by step process in order to avoid adding the bootstrap project commits to your project Git history
- Clone this repository:
git clone https://github.com/CodelyTV/csharp-basic-skeleton your-project-name
- Move to the project directory:
cd your-project-name
- If you don't have it already, install dotnet.
- Build the project:
dotnet build
- Run tests:
dotnet test
. - Create your own repository cleaning the bootstrap project history:
- Remove previous Git history in order to do not add the bootstrap repo noise in your project:
rm -rf .git
- Initialize your own Git repository:
git init
- Add the bootstrap files:
git add .
- Commit:
git commit -m "Initial commit with project boilerplate based on https://github.com/CodelyTV/csharp-basic-skeleton"
- Add your remote repository:
git remote add origin git@github.com:your-username/your-project-name
- Upload your local commits to the new remote repo:
git push -u origin master
- Remove previous Git history in order to do not add the bootstrap repo noise in your project:
- Start coding!
This hopefully helpful utility has been developed by CodelyTV and contributors.
We'll try to maintain this project as simple as possible, but Pull Requests are welcomed!
The MIT License (MIT). Please see License File for more information.