You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Install Homebrew, uv package manager, copier and further dev tools
12
+
curl -LsSf https://raw.githubusercontent.com/helmut-hoffer-von-ankershoffen/oe-python-template/HEAD/install.sh | sh
30
13
```
31
14
32
-
Clone this GitHub repository via ```git clone git@github.com:helmut-hoffer-von-ankershoffen/oe-python-template.git``` and change into the directory of your local OE Python Template repository: ```cd oe-python-template```
15
+
[Create a fork](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/fork) and clone your fork using ```git clone URL_OF_YOUR_CLONE```. Then change into the directory of your local OE Python Template repository with ```cd oe-python-template```.
16
+
17
+
If you are one of the committers of https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template you can directly clone via ```git clone git@github.com:helmut-hoffer-von-ankershoffen/oe-python-template.git``` and ```cd oe-python-template```.
This template is designed to be used with the [copier](https://copier.readthedocs.io/en/stable/) project generator. It allows you to create a new project based on this template and customize it according to your needs.
97
-
To generate a new project, follow these steps:
96
+
To generate, build and release a fully functioning project in a few minutes, follow these 5 steps:
98
97
99
-
**Step 1**: Install homebrew, uv package manager amd further tools. Copy the following code into your terminal and execute it.
98
+
**Step 1**: Execute the following command to install or update tooling.
100
99
```shell
101
-
if [[ "$OSTYPE"=="linux-gnu"* ]];then# Install Linux specifics
# Install Homebrew, uv package manager, copier and further dev tools
101
+
curl -LsSf https://raw.githubusercontent.com/helmut-hoffer-von-ankershoffen/oe-python-template/HEAD/install.sh | sh
120
102
```
121
103
122
104
**Step 2**: [Create a repository on GitHub](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-new-repository), clone to your local machine, and change into it's directory.
123
105
124
-
**Step 3**: Generate the project. Copy
106
+
**Step 3**: Execute the following command to generate a new project based on this template.
125
107
```shell
126
-
#ensure to stand in a git repository before executing the next command
108
+
#Ensure to stand in a git repository before executing the next command
**Step 4**: Perform initial commit and push. Copy the following code into your terminal and execute it.
112
+
**Step 4**: Execute the following commands to push your initial commit to GitHub.
131
113
```shell
132
114
git add .
133
115
git commit -m "chore: Initial commit"
134
116
git push
135
117
```
136
118
137
-
Visit your GitHub repository and check the Actions tab. The CI workflow should already be running! The workflow will fail at the SonarQube step, as this external service is not yet configured for our new repository.
119
+
Check the [Actions tab](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/actions) of your GitHub repository: The CI/CD workflow of your project is already running!
120
+
121
+
The workflow will fail at the SonarQube step, as this external service is not yet configured for our new repository. We will configure SonarQube and other services in the next step!
138
122
139
123
Notes:
140
124
1. Check out [this manual](https://docs.github.com/en/authentication/managing-commit-signature-verification/telling-git-about-your-signing-key) on how to set up signed commits
This template is designed to be used with the [copier](https://copier.readthedocs.io/en/stable/) project generator. It allows you to create a new project based on this template and customize it according to your needs.
55
-
To generate a new project, follow these steps:
54
+
To generate, build and release a fully functioning project in a few minutes, follow these 5 steps:
56
55
57
-
**Step 1**: Install homebrew, uv package manager amd further tools. Copy the following code into your terminal and execute it.
56
+
**Step 1**: Execute the following command to install or update tooling.
58
57
```shell
59
-
if [[ "$OSTYPE"=="linux-gnu"* ]];then# Install Linux specifics
# Install Homebrew, uv package manager, copier and further dev tools
59
+
curl -LsSf https://raw.githubusercontent.com/helmut-hoffer-von-ankershoffen/oe-python-template/HEAD/install.sh | sh
78
60
```
79
61
80
62
**Step 2**: [Create a repository on GitHub](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-new-repository), clone to your local machine, and change into it's directory.
81
63
82
-
**Step 3**: Generate the project. Copy
64
+
**Step 3**: Execute the following command to generate a new project based on this template.
83
65
```shell
84
-
#ensure to stand in a git repository before executing the next command
66
+
#Ensure to stand in a git repository before executing the next command
**Step 4**: Perform initial commit and push. Copy the following code into your terminal and execute it.
70
+
**Step 4**: Execute the following commands to push your initial commit to GitHub.
89
71
```shell
90
72
git add .
91
73
git commit -m "chore: Initial commit"
92
74
git push
93
75
```
94
76
95
-
Visit your GitHub repository and check the Actions tab. The CI workflow should already be running! The workflow will fail at the SonarQube step, as this external service is not yet configured for our new repository.
77
+
Check the [Actions tab](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/actions) of your GitHub repository: The CI/CD workflow of your project is already running!
78
+
79
+
The workflow will fail at the SonarQube step, as this external service is not yet configured for our new repository. We will configure SonarQube and other services in the next step!
96
80
97
81
Notes:
98
82
1. Check out [this manual](https://docs.github.com/en/authentication/managing-commit-signature-verification/telling-git-about-your-signing-key) on how to set up signed commits
0 commit comments