Skip to content

Commit b301e69

Browse files
committed
update readme
1 parent 8a788f3 commit b301e69

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

README.md

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -58,27 +58,26 @@ Before you begin, ensure you have the following:
5858

5959
## Step-by-Step Procedure
6060

61-
### Download the code source
61+
### Fork the Repository
6262

63-
Go to the repository: https://github.com/PaloAltoNetworks/code2cloud-python-flask-webserver.
64-
Download the code in ZIP format
65-
![Download the code in ZIP format](docs/download-source-code.png)
63+
- Go to the repository: https://github.com/PaloAltoNetworks/code2cloud-python-flask-webserver.
64+
- Click the "Fork" button in the top-right corner to create your own copy of the repository
6665

6766
### Create a new repository in your organization
6867

69-
Make sure to select your organization as the owner of the new repository:
68+
When you create repositories for C2C, make sure you are creating in a GitHub organization, not the individual repos. Cider doesn’t fetch pipeline and build logs from individual repositories, which are required for C2C.
7069
![Create new repository](docs/create-new-repo.png)
7170

7271
### Onboard the New Repository in Prisma Cloud
7372

7473
Follow the instructions in the Prisma Cloud documentation to connect your GitHub repository:
7574
[Add GitHub Repository to Prisma Cloud](https://docs.prismacloud.io/en/classic/appsec-admin-guide/get-started/connect-your-repositories/code-repositories/add-github)
7675

77-
### Clone the repo
76+
### Clone the Forked repository
7877

7978
Clone your forked repository to your local machine:
8079
```bash
81-
git clone https://github.com/<your-github-organization>/code2cloud-python-flask-webserver.git
80+
git clone https://github.com/<your-github-username>/code2cloud-python-flask-webserver.git
8281
```
8382

8483
### Push the code on the new repository
@@ -100,13 +99,9 @@ Open the `manifests/deployment.yaml` file and update the container repository na
10099
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
101100
```
102101
103-
Initializes a git repository, commits your code, creates the main branch, sets up a remote repository on GitHub, and pushes your code to it.
102+
In your local repository, set the new remote URL to point to the repository you just created in your organization.
104103
```bash
105-
git init
106-
git add .
107-
git commit -m "first commit"
108-
git branch -M main
109-
git remote add origin [email protected]:<your-github-organization>/org-code2cloud-python-flask-webserver.git
104+
git remote set-url origin [email protected]:<your-github-organization>/org-code2cloud-python-flask-webserver.git
110105
git push -u origin main
111106
```
112107

0 commit comments

Comments
 (0)