Skip to content

Commit 187dd28

Browse files
authored
Merge pull request #9 from oslabs-beta/dev
merge into master
2 parents a833231 + df1157b commit 187dd28

File tree

97 files changed

+1503
-3357
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+1503
-3357
lines changed

.dockerignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
node_modules
1+
node_modules
2+
SetupApp

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module.exports = {
2727
indent: ['warn', 2],
2828
'no-unused-vars': ['off', { vars: 'local' }],
2929
'prefer-const': 'warn',
30-
quotes: ['warn', 'single'],
30+
'quotes': [2, 'single', { 'avoidEscape': true }],
3131
semi: ['warn', 'always'],
3232
'space-infix-ops': 'warn',
3333
'no-console': 'off',

.vscode/settings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"workbench.localHistory.enabled": true,
33
"editor.tabSize": 2,
4-
"editor.formatOnSave": true,
4+
"editor.formatOnSave": false,
55
"editor.formatOnPaste": true,
66
"editor.formatOnType": true,
77
"editor.codeActionsOnSave": {
88
"source.fixAll.eslint": true
99
},
1010
"editor.acceptSuggestionOnEnter": "off"
11-
}
11+
}

README.md

Lines changed: 58 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,17 @@
1212
-->
1313

1414

15-
15+
<div align="center" width="100%">
16+
1617
[![Contributors][contributors-shield]][contributors-url]
1718
[![Forks][forks-shield]][forks-url]
1819
[![Stargazers][stars-shield]][stars-url]
1920
[![Issues][issues-shield]][issues-url]
2021
[![MIT License][license-shield]][license-url]
2122
[![LinkedIn][linkedin-shield]][linkedin-url]
22-
23+
24+
</div>
25+
2326
<!-- PROJECT LOGO -->
2427

2528

@@ -30,7 +33,7 @@
3033
<img src="assets/DockLogo.png" alt="Logo" width="550" height="auto">
3134
</a>
3235
<br />
33-
https://www.docketeer.org/
36+
https://www.docketeer.io/
3437
<br/>
3538

3639
<br />
@@ -40,7 +43,7 @@
4043
<a href="https://github.com/open-source-labs/Docketeer"><strong>Explore the docs »</strong></a>
4144
<br />
4245
<br />
43-
<a href="https://github.com/open-source-labs/Docketeer">View Demo</a>
46+
<a href="https://github.com/open-source-labs/Docketeer#about-the-project">View Demo</a>
4447
·
4548
<a href="https://github.com/open-source-labs/Docketeer/issues">Report Bug</a>
4649
·
@@ -58,20 +61,9 @@
5861
<ol>
5962
<br />
6063
<li>
61-
<a href="#about-the-project">About Docketeer</a>
62-
<ul>
63-
<li><a href="#built-with">Built With</a></li>
64-
</ul>
65-
</li>
66-
<li>
67-
<a href="#getting-started">Getting Started</a>
68-
<ul>
69-
<li><a href="#prerequisites">Prerequisites</a></li>
70-
<li><a href="#installation">Installation</a></li>
71-
</ul>
72-
</li>
73-
<li><a href="#usage">Usage</a></li>
74-
<li><a href="#roadmap">Roadmap</a></li>
64+
<a href="#about-the-project">About Docketeer</a></li>
65+
<li><a href="#installation">Installation</a></li>
66+
<li><a href="#in-development">In Development</a></li>
7567
<li><a href="#contributing">Contributing</a></li>
7668
<li><a href="#license">License</a></li>
7769
<li><a href="#authors">Authors</a></li>
@@ -82,99 +74,98 @@
8274

8375
## About The Project
8476

77+
<div align="center" width="100%">
78+
79+
[![Docker][Docker]][Docker-url][![Typescript][TS.js]][TS-url][![JavaScript][JavaScript]][JavaScript-url][![React][React.js]][React-url][![Redux][Redux]][Redux-url][![RTK][RTK]][RTK-url][![Node][Node.js]][Node-url][![Express][Express]][Express-url][![Postgres][Postgres]][Postgres-url][![MySQL][MySQL]][MySQL-url][![Grafana][Grafana]][Grafana-url][![Prometheus][Prometheus]][Prometheus-url][![Helm][Helm]][Helm-url][![Kubernetes][Kubernetes]][Kubernetes-url][![Jest][Jest]][Jest-url][![Vite][Vite]][Vite-url][![Git][Git]][Git-url][![HTML5][HTML5]][HTML5-url][![CSS3][CSS3]][CSS3-url][![SASS][SASS]][SASS-url]
80+
81+
</div>
82+
8583
<br />
8684
<div align="center">
87-
<img src="assets/FullDemo2.gif" alt="Logo" width="fit" height="auto">
85+
<img src="assets/FullDemo.gif" alt="Logo" width="fit" height="auto">
8886
</div>
8987
<br />
9088

9189

92-
Docketeer is an open source initiative comprising contributions from dozens of talented and passionate software engineers. Our application provides a simple interface to manage Docker resources & visualize both host and container metric data. Docketeer is a containerized application that can be deployed alongside your application cluster with hardly any effort. To learn more about our application and how to get started, keep reading!
90+
Docketeer is an open source initiative comprising contributions from dozens of talented and passionate software engineers. Our application provides a simple interface to manage Docker resources & visualize both host and container metric data, along with Kubernetes cluster data. Docketeer is a containerized application that can be deployed alongside your application cluster with hardly any effort. To learn more about our application and how to get started, keep reading!
9391

9492
<p align="right">(<a href="#readme-top">back to top</a>)</p>
9593

96-
### Built With
97-
98-
[![Docker][Docker]][Docker-url][![Typescript][TS.js]][TS-url][![JavaScript][JavaScript]][JavaScript-url][![React][React.js]][React-url][![Redux][Redux]][Redux-url][![RTK][RTK]][RTK-url][![Node][Node.js]][Node-url][![Express][Express]][Express-url][![Postgres][Postgres]][Postgres-url][![MySQL][MySQL]][MySQL-url][![Grafana][Grafana]][Grafana-url][![Prometheus][Prometheus]][Prometheus-url][![Jest][Jest]][Jest-url][![Vite][Vite]][Vite-url][![Git][Git]][Git-url][![HTML5][HTML5]][HTML5-url][![CSS3][CSS3]][CSS3-url][![SASS][SASS]][SASS-url]
99-
100-
101-
102-
103-
<p align="right">(<a href="#readme-top">back to top</a>)</p>
104-
105-
106-
#### Features:
94+
### Features:
10795

10896
- Docketeer is a Docker developer tool that's available as an open-source project on GitHub.
10997
- It aims to simplify the development process for projects that use Docker containers.
110-
- JWT authentication, allowing administrator and non-administrator privileges.
11198
- Allows you to filter through both your running and stopped container logs.
11299
- Docketeer provides an easy-to-use command-line interface for managing Docker containers, images, and networks.
113100
- With Docketeer, developers can quickly create, start, stop, and delete containers, as well as manage Docker networks and images.
114101
- Docketeer includes a variety of features, including automatic container naming, customizable configurations, and support for multiple Docker Compose - files.
102+
- Docketeer offers Node and kubelet metrics visualizations for your Kubernetes clusters, along with an easy set up process to get your cluster connected to the application.
115103
- Docketeer also offers built-in support for popular development frameworks like Rails and Node.js, making it easy to get started with these technologies.
116104
- Docketeer is highly customizable, and developers can configure it to suit their specific needs.
117105
- It's a community-maintained project, with frequent updates and bug fixes.
118106
- Docketeer is licensed under the MIT license, meaning it can be used and modified freely, even for commercial projects.
119107

120108
<p align="right">(<a href="#readme-top">back to top</a>)</p>
121109

110+
<!-- INSTALLATION -->
122111

123-
<br />
124-
<div align="center">
125-
<img src="assets/Metrics.gif" alt="Logo" width="fit" height="auto">
126-
</div>
127-
<br />
128-
129-
<!-- GETTING STARTED -->
130-
131-
## Getting Started
112+
## Installation
132113

133-
The local configuration for Docketeer was setup to be as simple as possible for the end-user. Follow the steps below to get started with Docketeer.
114+
The local configuration for Docketeer was setup to be as simple as possible for the end-user. <br />
115+
Follow the steps below to get started with Docketeer.
134116

135-
<br />
136-
137-
It's super simple to get started! Follow these 3 steps:
117+
#### Prerequisites:
118+
You must have Docker Desktop installed!
119+
<br></br>
138120

139121
#### STEP 1 — Clone the repository
140122

141123
```sh
142124
git clone https://github.com/open-source-labs/Docketeer.git
143125
```
144126

145-
<br />
146-
147127
#### STEP 2 — Docker compose up
148128

129+
Making sure you're in your Docketeer directory, run:
149130
```sh
150131
docker compose up
151132
```
152133

134+
#### STEP 2.5 — Need to set up your Kubernetes cluster to work with Docketeer?
135+
136+
Open up a new tab in your terminal, run the following command, and then navigate to [localhost:4001/api/k8](http://localhost:4001/api/k8):
137+
```sh
138+
npm run dev
139+
```
140+
141+
If you haven't set up Prometheus-Operator with us before, click the first button to install.
142+
<br />
143+
Otherwise, you can skip the first button and go on with the next two!
144+
<br />
145+
P.S. Make sure to keep this terminal open!
146+
153147
#### STEP 3 — Navigate to localhost:4000 to sign-up & login!
154148

155149
```sh
156-
http://localhost:4000/
150+
http://localhost:4000
157151
```
158152

159153
<p align="right">(<a href="#readme-top">back to top</a>)</p>
160154

161155

162156

157+
<!-- IN DEVELOPMENT -->
163158

164-
<!-- ROADMAP -->
165-
166-
## Roadmap: The future of Docketeer?
159+
## In Development
167160

168161
- [ ] Support for more development frameworks and languages, such as Next.JS.
169-
- [ ] Integration with container orchestration tools like Kubernetes or Docker Swarm.
170162
- [ ] Improved support for Docker networking, including more advanced configurations and better integration with other network tools.
171163
- [ ] Expand Docker networking capabilities within Docketeer to provide more sophisticated networking configurations and better interoperability with other network tools.
172-
- [ ] Improve Docketeer's error handling and logging capabilities to streamline the troubleshooting process and improve problem identification.
173164
- [ ] Develop more advanced container configuration options within Docketeer, such as load balancing or high availability setups.
174-
- [ ] Improve Docketeer's documentation and user guides to make it easier for new users to understand and use the tool.
175165
- [ ] Integrate Docketeer with popular development tools like IDEs or continuous integration/delivery systems for better automation and workflow efficiency.
176166
- [ ] Add support for more advanced Docker features, like multi-stage builds or Docker secrets, to expand the capabilities of Docketeer.
177167
- [ ] Develop integration with cloud services like AWS or Azure to simplify the deployment of Docker-based applications.
168+
- [ ] Display additional metrics for Kubernetes clusters.
178169

179170
See the [open issues](https://github.com/open-source-labs/Docketeer/issues) for a full list of proposed features (and known issues).
180171

@@ -203,12 +194,14 @@ Read our [contributing guide](https://github.com/open-source-labs/Docketeer/blob
203194

204195
## <b>Read More</b>
205196

197+
- [Docketeer XII: Now Ready for Launch!](https://medium.com/@jaenixlee/docketeer-xii-now-ready-for-launch-d06e8f26cd0f)
198+
- [Introducing Docketeer XI | The Latest Version Ready for Takeoff with a Splash!](https://medium.com/@saadh123/introducing-docketeer-xi-the-latest-version-ready-for-takeoff-with-a-splash-d5f40eacb29d)
206199
- [Enjoy the sleek new look of Docketeer X](https://medium.com/@ajschmidt225/enjoy-the-sleek-new-look-of-docketeer-x-34c1ccf8bb2b)
207200
- [Docketeer is here to make a splash!](https://medium.com/@garima41/docketeer-9-0-is-here-to-make-a-splash-134336923d3d)
208201
- [Docketeer is here! You’re WHALEcome!](https://medium.com/@dfeldman24/docketeer-5-0-is-here-youre-whalecome-6f9d72ec3b58)
209202
- [Docketeer! What's new?](https://medium.com/@hultzentre/docketeer-5-0-whats-new-358a5f107ac4)
210203
- [Docketeer: An Innovative Tool to Manage Docker Containers](https://griffinsilver.medium.com/docketeer-3-0-an-innovative-tool-to-manage-docker-containers-723ea5be6220a)
211-
- [Whale Hello There, Docketeer is Here!](https://msscloudy.medium.com/whale-hello-there-docketeer-4-0-is-here-b78bd9d1df01)
204+
- [Whale Hello There, Docketeer 4.0 is Here!](https://msscloudy.medium.com/whale-hello-there-docketeer-4-0-is-here-b78bd9d1df01)
212205
- [Our Journey Building Docketeer](https://betterprogramming.pub/our-journey-building-docketeer-an-open-source-docker-container-monitoring-and-visualization-tool-fb6c26d8908a)
213206

214207

@@ -271,12 +264,16 @@ Distributed under the MIT License. See `LICENSE.txt` for more information.
271264
- Benjamin Huang [@byhuang4100](https://github.com/byhuang4100) | [LinkedIn](https://www.linkedin.com/in/bh4120/)
272265
- Saad Hamdani [@Saadh123](https://github.com/saadh123) | [LinkedIn](https://www.linkedin.com/in/saadh123/)
273266
- Michael Angelo Garcia [@MichaelAngelo13](https://github.com/MichaelAngelo13) | [LinkedIn](https://www.linkedin.com/in/michael-angelo-garcia-053848265/)
267+
- Anna Tran [@annamullike](https://github.com/annamullike) | [LinkedIn](https://www.linkedin.com/in/annatran10/)
268+
- Emily John [@emilyjohl](https://github.com/emilyjohl) | [LinkedIn](https://www.linkedin.com/in/emily-johl-5093ab137/)
269+
- Jaeni Lee [@jaenixlee](https://github.com/jaenixlee) | [LinkedIn](https://www.linkedin.com/in/jaenilee/)
270+
- Joseph Salgado [@Jaysalgado](https://github.com/Jaysalgado) | [LinkedIn](https://www.linkedin.com/in/joseph-salgado-76410620b/)
274271

275272
<p align="right">(<a href="#readme-top">back to top</a>)</p>
276273

277-
## Show your support
274+
## Show Your Support
278275

279-
Give a ⭐️ if this project helped you!
276+
Please ⭐️ this project if you found it helpful, thank you!
280277

281278

282279
[contributors-shield]: https://img.shields.io/github/contributors/open-source-labs/Docketeer.svg?style=for-the-badge
@@ -330,7 +327,10 @@ Give a ⭐️ if this project helped you!
330327
[SASS-url]: https://sass-lang.com/
331328
[RTK]: https://img.shields.io/badge/RTK-563D7C?style=for-the-badge&logo=redux&logoColor=white
332329
[RTK-url]: https://redux-toolkit.js.org/
333-
330+
[Helm]: https://img.shields.io/badge/helm-navy?style=for-the-badge&logo=helm&logoColor=white
331+
[Helm-url]: https://helm.sh/
332+
[Kubernetes]: https://img.shields.io/badge/kubernetes-3371e3?style=for-the-badge&logo=kubernetes&logoColor=white
333+
[Kubernetes-url]: https://kubernetes.io/
334334

335335

336336

SetupApp/index.html

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<link rel="preconnect" href="https://fonts.googleapis.com" />
8+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
9+
<link
10+
href="https://fonts.googleapis.com/css2?family=Bai+Jamjuree:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&family=Quicksand:wght@300;400;500;600;700&display=swap"
11+
rel="stylesheet"
12+
/>
13+
<script src="index.js"></script>
14+
<title>Set Up Your Kubernetes Cluster</title>
15+
<style>
16+
body {
17+
height: 79vh;
18+
font-family: "Bai Jamjuree", sans-serif;
19+
background: rgb(132, 202, 241);
20+
background: linear-gradient(
21+
107deg,
22+
rgba(132, 202, 241, 1) 0%,
23+
rgba(74, 194, 172, 1) 50%,
24+
rgba(83, 139, 198, 1) 100%
25+
);
26+
background-size: cover;
27+
}
28+
29+
.buttons {
30+
display: flex;
31+
flex-direction: column;
32+
align-items: center;
33+
justify-content: space-evenly;
34+
}
35+
36+
.buttonContainer {
37+
margin-top: 20vh;
38+
display: flex;
39+
flex-direction: column;
40+
justify-content: space-between;
41+
display: flex;
42+
align-items: center;
43+
text-align: center;
44+
}
45+
46+
button {
47+
font-family: "Bai Jamjuree", sans-serif;
48+
color: color(light, tan);
49+
align-self: center;
50+
font-size: 1rem;
51+
border-radius: 5px;
52+
border: none;
53+
border-radius: 5px;
54+
padding: 0.5em 0.75em;
55+
margin: 8px;
56+
min-width: 10ch;
57+
text-align: center;
58+
line-height: 1.1;
59+
cursor: pointer;
60+
transition: all 0.3s ease-in-out;
61+
}
62+
.buttonDiv {
63+
display: flex;
64+
flex-direction: row;
65+
line-height: 60px;
66+
}
67+
68+
#promCheck, #grafCheck, #portCheck {
69+
visibility: hidden;
70+
}
71+
</style>
72+
</head>
73+
74+
<body>
75+
<div id="root2"></div>
76+
<div class="buttonContainer">
77+
<div class="buttons">
78+
<h1>Set Up Your Kubernetes Cluster with Docketeer!</h1>
79+
<span>You only need to Install Prometheus Operator once!</span>
80+
<span>Please wait for the green check mark to appear before moving onto the next step!</span>
81+
<div class="buttonDiv"><button id="prom">Install Prometheus Operator</button><span id="promCheck">&#9989;</span></div>
82+
<div class="buttonDiv"><button id="metrics">Set Up Grafana</button><span id="grafCheck">&#9989;</span></div>
83+
<div class="buttonDiv"><button id="port">Launch Port Forwarding</button><span id="portCheck">&#9989;</span></div>
84+
</div>
85+
</div>
86+
</body>
87+
</html>

SetupApp/index.js

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
document.addEventListener('DOMContentLoaded', () => {
2+
const promInstall = document.querySelector('#prom');
3+
const grafInstall = document.querySelector('#metrics');
4+
const portForward = document.querySelector('#port');
5+
const promCheck = document.querySelector('#promCheck');
6+
const grafCheck = document.querySelector('#grafCheck');
7+
const portCheck = document.querySelector('#portCheck');
8+
9+
10+
promInstall.addEventListener('click', () => {
11+
fetch('/api/setup/promInstall')
12+
.then(() => {
13+
promCheck.setAttribute('style', 'visibility: visible;');
14+
});
15+
});
16+
17+
grafInstall.addEventListener('click', () => {
18+
fetch('/api/setup/applyGraf')
19+
.then(() => {
20+
grafCheck.setAttribute('style', 'visibility: visible;');
21+
});
22+
});
23+
24+
portForward.addEventListener('click', () => {
25+
fetch('/api/setup/portForward')
26+
.then(() => {
27+
portCheck.setAttribute('style', 'visibility: visible;');
28+
});
29+
});
30+
});

0 commit comments

Comments
 (0)