Skip to content

Commit 8d4d1b2

Browse files
committed
Merge branch 'dev' of https://github.com/oslabs-beta/Docketeer into dev
2 parents bfa4b40 + 78366b0 commit 8d4d1b2

Some content is hidden

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

50 files changed

+65
-1410
lines changed

README.md

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
<a href="https://github.com/open-source-labs/Docketeer"><strong>Explore the docs »</strong></a>
4444
<br />
4545
<br />
46-
<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>
4747
·
4848
<a href="https://github.com/open-source-labs/Docketeer/issues">Report Bug</a>
4949
·
@@ -82,7 +82,7 @@
8282

8383
<br />
8484
<div align="center">
85-
<img src="assets/FullDemo2.gif" alt="Logo" width="fit" height="auto">
85+
<img src="assets/FullDemo.gif" alt="Logo" width="fit" height="auto">
8686
</div>
8787
<br />
8888

@@ -120,28 +120,30 @@ Follow the steps below to get started with Docketeer.
120120
git clone https://github.com/open-source-labs/Docketeer.git
121121
```
122122

123-
#### STEP 1.5Need to set up your Kubernetes cluster to work with Docketeer?
123+
#### STEP 2Docker compose up
124124

125-
Run the following command and then navigate to [localhost:4001/api/k8](http://localhost:4001/api/k8):
125+
Making sure you're in your Docketeer directory, run:
126+
```sh
127+
docker compose up
128+
```
129+
130+
#### STEP 2.5 — Need to set up your Kubernetes cluster to work with Docketeer?
131+
132+
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):
126133
```sh
127134
npm run dev
128135
```
129136

130137
If you haven't set up Prometheus-Operator with us before, click the first button to install.
131138
<br />
132139
Otherwise, you can skip the first button and go on with the next two!
133-
134-
#### STEP 2 — Docker compose up
135-
136-
Open up a new tab in your terminal and make sure you're in the Docketeer directory. Then run
137-
```sh
138-
docker compose up
139-
```
140+
<br />
141+
P.S. Make sure to keep this terminal open!
140142

141143
#### STEP 3 — Navigate to localhost:4000 to sign-up & login!
142144

143145
```sh
144-
http://localhost:4000/
146+
http://localhost:4000
145147
```
146148

147149
<p align="right">(<a href="#readme-top">back to top</a>)</p>
@@ -188,6 +190,7 @@ Read our [contributing guide](https://github.com/open-source-labs/Docketeer/blob
188190

189191
## <b>Read More</b>
190192

193+
- [Docketeer XII: Now Ready for Launch!](https://medium.com/@jaenixlee/docketeer-xii-now-ready-for-launch-d06e8f26cd0f)
191194
- [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)
192195
- [Enjoy the sleek new look of Docketeer X](https://medium.com/@ajschmidt225/enjoy-the-sleek-new-look-of-docketeer-x-34c1ccf8bb2b)
193196
- [Docketeer is here to make a splash!](https://medium.com/@garima41/docketeer-9-0-is-here-to-make-a-splash-134336923d3d)

SetupApp/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,4 @@ document.addEventListener('DOMContentLoaded', () => {
1414
portForward.addEventListener('click', () => {
1515
fetch('/api/setup/portForward');
1616
});
17-
1817
});

__tests__/ServerRoutes.test.js

Lines changed: 1 addition & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -7,28 +7,17 @@ const bodyParser = require("body-parser");
77
const app = express();
88
app.use(bodyParser.json());
99

10-
import accountRouter from '../server/routes/accountRouter';
11-
1210
import apiRouter from '../server/routes/apiRouter';
1311
import commandRouter from '../server/routes/commandRouter';
1412
import signupRouter from '../server/routes/signupRouter';
1513
import loginRouter from '../server/routes/loginRouter';
16-
import dbRouter from '../server/routes/dbRouter';
1714
import initRouter from '../server/routes/initRouter';
1815
import logoutRouter from '../server/routes/logoutRouter';
19-
// import settingsRouter from '../server/routes/settingsRouter';
2016

21-
// app.use('/test', (req, res) => {
22-
// res.status(200).json({
23-
// success: true,
24-
// });
25-
// });
2617

27-
app.use('/account', accountRouter);
2818
app.use('/gapi', apiRouter);
2919
app.use('/api', apiRouter);
3020
app.use('command', commandRouter);
31-
app.use('/db', dbRouter);
3221
app.use('/init', initRouter);
3322
app.use('/login', loginRouter);
3423
app.use('/logout', logoutRouter);
@@ -46,7 +35,7 @@ let testKey;
4635
describe('test test', () => {
4736
test('Get request', async () => {
4837
const res = await request(app)
49-
.get('/gapi/hello');
38+
.get('/gapi/test');
5039
expect(res.body.data).toBe('in hello testing');
5140
expect(res.status).toBe(200)
5241

@@ -80,29 +69,6 @@ describe('uid test', () => {
8069
});
8170
})
8271

83-
// account route
84-
xdescribe('Account Route', () => {
85-
test('Get request', () => {
86-
request(app)
87-
.get('/account')
88-
.expect('Content-Type', 'application/json; charset=utf-8')
89-
.expect(200)
90-
.expect(response);
91-
});
92-
});
93-
94-
95-
// admin route
96-
xdescribe('Admin Route', () => {
97-
test('Get request', () => {
98-
request(app)
99-
.get('/admin')
100-
.expect('Content-Type', 'application/json; charset=utf-8')
101-
.expect(200)
102-
.expect(response);
103-
});
104-
});
105-
10672
// api route
10773
xdescribe('Api Route', () => {
10874
test('Get request', () => {
@@ -125,17 +91,6 @@ xdescribe('Command Route', () => {
12591
});
12692
});
12793

128-
// db route
129-
xdescribe('Db Route', () => {
130-
test('Get request', () => {
131-
request(app)
132-
.get('/db')
133-
.expect('Content-Type', 'application/json; charset=utf-8')
134-
.expect(200)
135-
.expect(response);
136-
});
137-
});
138-
13994
// init route
14095
xdescribe('Init Route', () => {
14196
test('Get request', () => {
@@ -169,29 +124,6 @@ xdescribe('Logout Route', () => {
169124
});
170125
});
171126

172-
// setting route
173-
// describe('Settings Route', () => {
174-
// test('Get request should return empty mem, cpu, stopped', async () => {
175-
// await request(app)
176-
// .get('/settings')
177-
// .expect('Content-Type', 'application/json; charset=utf-8')
178-
// .expect(200)
179-
// .expect(response);
180-
// });
181-
// xtest('Post request', async () => {
182-
// await request(app)
183-
// .post('/settings/insert')
184-
// .send({
185-
// container: ['test', 'value'],
186-
// name: 'testname',
187-
// metric: 'hello'
188-
// })
189-
// .expect('Content-Type', 'application/json; charset=utf-8')
190-
// .expect(200)
191-
// .expect(response);
192-
// });
193-
// });
194-
195127
// signup route
196128
// describe('Signup Route', () => {
197129
// test('get request', async () => {

assets/.DS_Store

0 Bytes
Binary file not shown.

assets/ContainerLogsGif.gif

-2 MB
Binary file not shown.

assets/Docketeerlogos.png

-169 KB
Binary file not shown.

assets/FullDemo.gif

9.3 MB
Loading

assets/FullDemo2.gif

-16 MB
Binary file not shown.

assets/Metrics.gif

-7.73 MB
Binary file not shown.

assets/demo.gif

-6.41 MB
Binary file not shown.

0 commit comments

Comments
 (0)