Skip to content

Commit a6d74ce

Browse files
committed
Merge branch 'dev-setup'
2 parents 6fc73f0 + 3aad813 commit a6d74ce

File tree

1 file changed

+76
-10
lines changed

1 file changed

+76
-10
lines changed

CONTRIBUTING.md

Lines changed: 76 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,72 +1,138 @@
11
# How to contribute
2+
> "Great to see you here! We are happy you are considering contributing to Kubero." @mms-gianni
23
3-
All contributions are welcome. For simple typos, just open a PR.
4-
For bigger ideas it might be better to open an issue first before you put a lot of work into it.
4+
All contributions are welcome. For simple typo's, just open a PR. For bigger ideas/changes we kindly ask you to reach out on discord or open an issue first before you put a lot of work into it. We are very happy to discuss your ideas and help you to get started.
55

6-
Want to contribute, but don't know where to start? Have a look into the [Roadmap](https://github.com/orgs/kubero-dev/projects/1).
6+
Willing to contribute something, but you don't know where to start? Have a look into the [Roadmap](https://github.com/orgs/kubero-dev/projects/1).
77

8+
## Contribution Process
89
1. Setup your development environment
9-
2. Fork the repository
10+
2. Fork the repository and checkout the code
1011
3. Create a new branch
1112
4. Make your changes
1213
5. Open a PR
1314

15+
## Techstack
16+
**Infrastructure**
17+
- [Kubernetes](https://kubernetes.io/)
18+
- [Operator SDK](https://sdk.operatorframework.io/)
19+
- [Helm (Operator)](https://helm.sh/)
20+
- [Kind (Development)](https://kind.sigs.k8s.io/)
21+
22+
**Code**
23+
- [Express](https://expressjs.com/)
24+
- [TypeScript](https://www.typescriptlang.org/)
25+
- [Vue.js](https://vuejs.org/)
26+
- [Vuetify](https://vuetifyjs.com/en/)
27+
28+
1429
## Development setup for the Kubero UI
1530

1631
### Requirements
17-
- docker
18-
- kind
19-
- kubectl
20-
- kubero-cli
21-
- git
2232

33+
<<<<<<< HEAD
2334

2435
### 1) Start a local Kubernetes cluster with Kind
36+
=======
37+
To get started with Kubero development, you will need the following toolbelt:
38+
39+
- Docker
40+
- Kind (Kubernetes in Docker)
41+
- Kubectl
42+
- [Kubero CLI](https://github.com/kubero-dev/kubero-cli/releases/latest)
43+
- Git
44+
- Code editor of your choice (VSCode, Webstorm, Atom, ...)
45+
46+
### 1) Start a Local Kubernetes Cluster with Kind
47+
>>>>>>> dev-setup
2548
Run `kubero install` with the [CLI](https://github.com/kubero-dev/kubero-cli/releases/latest) and select `kind`.
2649
This will install a local cluster with a single node and all required components.
2750

2851
You can skip the kubero-UI step since we will use our local code.
2952

53+
<<<<<<< HEAD
3054
### 2) Export the kubeconfig
55+
=======
56+
### 2) Export the Kubeconfig
57+
>>>>>>> dev-setup
3158
```bash
3259
kind export kubeconfig --name kubero-XXX --kubeconfig ./kubeconfig
3360
```
61+
This step exports the kubeconfig for your local cluster, making it available for Kubero.
3462

63+
<<<<<<< HEAD
3564
### 3) Create a dev namespace
3665
This step is optional but will avoid interference with the local InCluster kubero-ui instance.
66+
=======
67+
### 3) Create a Development Namespace (Optional)
68+
Although optional, creating a separate namespace helps prevent interference with the local in-cluster Kubero-UI instance.
69+
>>>>>>> dev-setup
3770
```bash
3871
kubectl create namespace kubero-dev
3972
```
4073

74+
<<<<<<< HEAD
4175
### 4) Prepare your local code
4276
Fork the repository https://github.com/kubero-dev/kubero into your account.
4377

4478
Clone your Fork to your local disk.
4579

4680
### 5) Configure Kubero's environment
81+
=======
82+
### 4) Checkout the Code
83+
1. Fork the [Kubero](https://github.com/kubero-dev/kubero) repository to your GitHub account.
84+
2. Clone your forked repository to your local machine.
85+
86+
>>>>>>> dev-setup
87+
```bash
88+
git clone https://github.com/YOUR_USERNAME/kubero.git
89+
cd kubero
90+
```
91+
92+
### 5) Start Your Local Instance
93+
Navigate to the server directory, and rename the .env.template file to .env to set up the required environment variables.
4794
```bash
95+
cd server
4896
mv .env.template .env
4997
```
5098

99+
<<<<<<< HEAD
51100
### 6) Start local node server
52101
This will start the server part.
102+
=======
103+
Install the dependencies, and start the server:
104+
>>>>>>> dev-setup
53105
```bash
54-
cd server
55106
yarn install
56107
yarn dev
57108
```
58109

110+
<<<<<<< HEAD
59111
Initiate the client JS part.
112+
=======
113+
Next, set up the client JavaScript part:
114+
>>>>>>> dev-setup
60115
```bash
61116
cd client
62117
yarn install
63118
yarn watch
64119
```
65120

121+
<<<<<<< HEAD
66122
You should be able to reach your local dev instance via http://localhost:2000
67123

68124
### 7) start optional services
69125
If you need any additional services (Gitea, Github ...), just run `docker-compose up -d`, or add it to the `docker-compose.yml` file, if it is missing.
126+
=======
127+
You should now be able to access your local development instance at http://localhost:2000
128+
129+
### 6) Start Additional Services (Optional)
130+
If you need additional services (such as Gitea or GitHub integration), run the following command to start them via Docker:
131+
```bash
132+
docker-compose up -d
133+
```
134+
If any services are missing, you can add them to the `docker-compose.yml` file.
135+
>>>>>>> dev-setup
70136
71137
Nope. No extra database is required. All data is stored in the Kubernetes cluster.
72138

0 commit comments

Comments
 (0)