Skip to content

Commit 18f8bd2

Browse files
committed
Update the readme with how to implement changes
1 parent 02dc4a4 commit 18f8bd2

File tree

1 file changed

+27
-11
lines changed

1 file changed

+27
-11
lines changed

README.md

Lines changed: 27 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -83,23 +83,12 @@ git clone https://github.com/<your-github-username>/code2cloud-python-flask-webs
8383

8484
### Push the code on the new repository
8585

86-
Unzip the code source to a new directory on your local machine.
8786
Change the directory and open repository:
8887

8988
```bash
9089
cd code2cloud-python-flask-webserver
9190
```
9291

93-
Open the `version.py` file and update the version number:
94-
```python
95-
version = "0.0.10" # Update to a new version number
96-
```
97-
98-
Open the `manifests/deployment.yaml` file and update the container repository name and the version number:
99-
```yaml
100-
image: ghcr.io/<your-github-organization>/code2cloud-python-flask-webserver:v0.0.10 # Update the ontainer repository name with your github username and the version number
101-
```
102-
10392
In your local repository, set the new remote URL to point to the repository you just created in your organization.
10493
```bash
10594
git remote set-url origin [email protected]:<your-github-organization>/code2cloud-python-flask-webserver.git
@@ -147,6 +136,33 @@ Use the external IP provided by the LoadBalancer service to access the applicati
147136

148137
![Web Application](docs/webapp.png)
149138

139+
140+
141+
### Implement changes on the application
142+
143+
Go to the directory and open repository:
144+
145+
```bash
146+
cd code2cloud-python-flask-webserver
147+
```
148+
149+
Implement the changes in the source code.
150+
151+
Open the `version.py` file and update the version number:
152+
```python
153+
version = "0.0.10" # Update to a new version number
154+
```
155+
156+
Open the `manifests/deployment.yaml` file and update the container repository name and the version number:
157+
```yaml
158+
image: ghcr.io/<your-github-organization>/code2cloud-python-flask-webserver:v0.0.10 # Update the ontainer repository name with your github username and the version number
159+
```
160+
161+
Apply the Kubernetes manifests to create the namespace, deployment, and service:
162+
```bash
163+
kubectl apply -f manifests/deployment.yaml
164+
```
165+
150166
### Troubleshooting by verifying the HASH
151167

152168
Go to https://github.com/<your-github-organization>/code2cloud-python-flask-webserver/actions/

0 commit comments

Comments
 (0)