This repository is a my python template to help you get started quickly on a new project.
Follow these steps to start a new project based on this template:
-
Create a New Repository: First, create a new repository on GitHub. This will be the repository for your new project.
-
Clone the template to a New Directory: On your local machine, clone this template repository into a new directory that will become your new project. Then remove the
.git
directory to completely decouple it from the template. Use these commands:git clone https://github.com/C-Naoki/my-python-templete.git <new-project> cd <new-project> rm -rf .git
-
Setting Up The Local Development Environment: Install the required python version, set the local python version, create and use a new poetry environment, and install the project dependencies. You can do this with the provided
Makefile
using the following command:make install
-
Initialize a New Repository: Then, initialize a new repository in the new directory:
git init
-
Set the Remote of the New Repository: Set your new GitHub repository as the remote for your new project:
git remote add origin <url-of-your-new-repository>
-
Push to the New Repository: Stage all files, commit them, and push them to your new repository:
git add . git commit -m ":tada: initial commit" git push -u origin master
By following these steps, you can start a new project based on this starter set.