new project¶
Create a new project¶
- Install copier.
- Create a new project from the template:
First steps with your new project¶
Required dependencies:
- Make sure you have
python >= 3.10
andpoetry
installed. - Instructions: https://microsoft.github.io/cookie-doh/dev_setup
- You can also install optional tools like
direnv
andpre-commit
following the link above if needed for your project.
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:
To resolve conflicts, you can rename conflicting files (like README.md) and then solve conflicts, or, continue without pulling, commit your changes, and then pull withgit remote add origin https://github.com/{{organization}}/{{project_name}}.git git pull origin main # and resolve any conflicts
git pull origin main --allow-unrelated-histories
and 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 withcopier --help
and/or copier update --help
.