new project¶
Create a new project¶
- Install uv.
- Install copier.
- Create a new project from the template:
First steps with your new project¶
Instructions: https://microsoft.github.io/cookie-doh/dev_setup
- Make sure you have
uvinstalled. - Install optional tools like
direnvandpre-commit.
Once you've created your new repository, the creation process will tell you to:
-
Change directory and initialize git:
-
Configure upstream / remote repository:
a. if you have an existing repository:
git remote add origin https://github.com/{{organization}}/{{project_name}}.git git pull origin main # and resolve any conflictsTo resolve conflicts, you can rename conflicting files (like README.md) and then solve conflicts, or, continue without pulling, commit your changes, and then pull with
git pull origin main --allow-unrelated-historiesand solve the conflicts then.b. or, create a new repository (install GitHub CLI if necessary)
-
Install dependencies:
-
Commit the initial files:
-
Happy coding!
Updating your project¶
In the future you can keep track of the latest changes of cookie-doh by running:
Get more options with copier --help and/or copier update --help.