Skip to content

Commit ba78930

Browse files
Merge pull request #3 from vinitshahdeo/feature/documentation
Feature/documentation
2 parents a4de4a7 + 9c250ce commit ba78930

File tree

8 files changed

+277
-221
lines changed

8 files changed

+277
-221
lines changed

.gitpod.yml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
tasks:
2+
- init: >
3+
python3 -m pip install -r water_monitoring_system/requirements.txt &&
4+
python3 manage.py water_monitoring_system/migrate
5+
6+
command: >
7+
python3 water_monitoring_system/manage.py runserver
8+
github:
9+
prebuilds:
10+
pullRequestsFromForks: true

README.md

+8-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
# [Water Monitoring System](https://vinitshahdeo.github.io/Water-Monitoring-System/) - IoT Project
22

3-
[![GitHub license](https://img.shields.io/github/license/vinitshahdeo/Water-Monitoring-System.svg?logo=github)](https://github.com/vinitshahdeo/Water-Monitoring-System/blob/master/LICENSE) [![GitHub stars](https://img.shields.io/github/stars/vinitshahdeo/Water-Monitoring-System.svg?logo=github)](https://github.com/vinitshahdeo/Water-Monitoring-System/stargazers) [![GitHub forks](https://img.shields.io/github/forks/vinitshahdeo/Water-Monitoring-System.svg?logo=github&color=teal)](https://github.com/vinitshahdeo/Water-Monitoring-System/network) [![GitHub top language](https://img.shields.io/github/languages/top/vinitshahdeo/Water-Monitoring-System?color=yellow&logo=javascript)](https://github.com/vinitshahdeo/Water-Monitoring-System)
3+
[![first-timers-only](https://img.shields.io/badge/first--timers--only-friendly-tomato.svg?style=flat&logo=git)](https://github.com/vinitshahdeo/Water-Monitoring-System/issues) [![GitHub license](https://img.shields.io/github/license/vinitshahdeo/Water-Monitoring-System.svg?logo=github)](https://github.com/vinitshahdeo/Water-Monitoring-System/blob/master/LICENSE) [![GitHub stars](https://img.shields.io/github/stars/vinitshahdeo/Water-Monitoring-System.svg?logo=github)](https://github.com/vinitshahdeo/Water-Monitoring-System/stargazers) [![GitHub forks](https://img.shields.io/github/forks/vinitshahdeo/Water-Monitoring-System.svg?logo=github&color=teal)](https://github.com/vinitshahdeo/Water-Monitoring-System/network) [![GitHub top language](https://img.shields.io/github/languages/top/vinitshahdeo/Water-Monitoring-System?color=yellow&logo=javascript)](https://github.com/vinitshahdeo/Water-Monitoring-System)
4+
5+
[![GitHub license](https://img.shields.io/github/license/vinitshahdeo/Water-Monitoring-System.svg?logo=github)](https://github.com/vinitshahdeo/Water-Monitoring-System/blob/master/LICENSE) [![GitHub stars](https://img.shields.io/github/stars/vinitshahdeo/Water-Monitoring-System.svg?logo=github)](https://github.com/vinitshahdeo/Water-Monitoring-System/stargazers) [![GitHub forks](https://img.shields.io/github/forks/vinitshahdeo/Water-Monitoring-System.svg?logo=github&color=teal)](https://github.com/vinitshahdeo/Water-Monitoring-System/network) [![GitHub top language](https://img.shields.io/github/languages/top/vinitshahdeo/Water-Monitoring-System?color=yellow&logo=javascript)](https://github.com/vinitshahdeo/Water-Monitoring-System)![slack](https://img.shields.io/badge/chat-slack-tomato.svg?style=flat&logo=slack)
46

57
> **You can view the demo [here](https://vinitshahdeo.github.io/Water-Monitoring-System/src/home.html).**
68
79
[![Water Monitoring System](https://img.shields.io/badge/Water Monitoring-System-teal.svg?colorA=teal =orange =for-the-badge)](https://github.com/vinitshahdeo/Water-Monitoring-System/) [![IoT](https://img.shields.io/badge/IoT-Project-teal.svg?colorA=blue&colorB=red&style=for-the-badge)](https://github.com/vinitshahdeo/Water-Monitoring-System/)
810

11+
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/vinitshahdeo/Water-Monitoring-System/)
12+
913
![NodeJS](https://img.shields.io/badge/Made%20with-Node.js-orange?style=for-the-badge&logo=node.js)
1014
![Django](https://img.shields.io/badge/Made%20with-Django-brightgreen?style=for-the-badge&logo=django)
1115
![React](https://img.shields.io/badge/Made%20with-React-red?style=for-the-badge&logo=react)
@@ -120,6 +124,7 @@ git push -u origin <your_branch_name>
120124
121125
- Refer [this](https://github.com/vinitshahdeo/Water-Monitoring-System/blob/master/CONTRIBUTING.md) for more.
122126
127+
123128
## Open Source Programs
124129
125130
This project is part of the following Open Source programs:
@@ -135,7 +140,6 @@ This project is part of the following Open Source programs:
135140
[![GSSoC](https://raw.githubusercontent.com/GirlScriptSummerOfCode/MentorshipProgram/master/GSsoc%20Type%20Logo%20Black.png)](https://www.gssoc.tech/)
136141

137142
#### _1. How to start as a beginner so as to contribute to the project?_
138-
139143
_There are many beginner level issues to begin with, which include documentation, development and design. Also, feel free to make issues for features as well as for reporting bugs.Participants can claim an issue by commenting that they are interested in it. We are also open to new ideas and suggestions._
140144

141145
#### _2. Is this a hardware/IoT project?_
@@ -171,8 +175,6 @@ _Mentors can assign issues to participants and also mention a deadline before wh
171175
172176
## Mentors
173177
174-
[![Open Source Love](https://badges.frapsoft.com/os/v2/open-source.svg?v=103)](https://github.com/vinitshahdeo) [![GitHub pull requests](https://img.shields.io/github/issues-pr-closed-raw/vinitshahdeo/Water-Monitoring-System?logo=git&logoColor=white)](https://github.com/vinitshahdeo/Water-Monitoring-System/pulls?q=is%3Apr+is%3Aclosed)
175-
176178
| GitHub Usernames | Domain |
177179
| ---------------------------------------------------- | -------------------------- |
178180
| [@vinitshahdeo](https://github.com/vinitshahdeo) | Full Stack + Documentation |
@@ -183,8 +185,8 @@ _Mentors can assign issues to participants and also mention a deadline before wh
183185
| [@ArpitKotecha](https://github.com/ArpitKotecha) | Backend |
184186
| [@Manvityagi](https://github.com/Manvityagi) | APIs + Cloud |
185187
| [@jainpawan21](https://github.com/jainpawan21) | Frontend |
188+
| [@amaaniqbal](https://github.com/amaaniqbal) | Frontend |
186189
187-
[![](https://sourcerer.io/fame/vinitshahdeo/vinitshahdeo/Water-Monitoring-System/images/0)](https://sourcerer.io/fame/vinitshahdeo/vinitshahdeo/Water-Monitoring-System/links/0)[![](https://sourcerer.io/fame/vinitshahdeo/vinitshahdeo/Water-Monitoring-System/images/1)](https://sourcerer.io/fame/vinitshahdeo/vinitshahdeo/Water-Monitoring-System/links/1)[![](https://sourcerer.io/fame/vinitshahdeo/vinitshahdeo/Water-Monitoring-System/images/2)](https://sourcerer.io/fame/vinitshahdeo/vinitshahdeo/Water-Monitoring-System/links/2)[![](https://sourcerer.io/fame/vinitshahdeo/vinitshahdeo/Water-Monitoring-System/images/3)](https://sourcerer.io/fame/vinitshahdeo/vinitshahdeo/Water-Monitoring-System/links/3)[![](https://sourcerer.io/fame/vinitshahdeo/vinitshahdeo/Water-Monitoring-System/images/4)](https://sourcerer.io/fame/vinitshahdeo/vinitshahdeo/Water-Monitoring-System/links/4)[![](https://sourcerer.io/fame/vinitshahdeo/vinitshahdeo/Water-Monitoring-System/images/5)](https://sourcerer.io/fame/vinitshahdeo/vinitshahdeo/Water-Monitoring-System/links/5)[![](https://sourcerer.io/fame/vinitshahdeo/vinitshahdeo/Water-Monitoring-System/images/6)](https://sourcerer.io/fame/vinitshahdeo/vinitshahdeo/Water-Monitoring-System/links/6)[![](https://sourcerer.io/fame/vinitshahdeo/vinitshahdeo/Water-Monitoring-System/images/7)](https://sourcerer.io/fame/vinitshahdeo/vinitshahdeo/Water-Monitoring-System/links/7)
188190
189191
## Useful Resources
190192
@@ -197,6 +199,7 @@ _Mentors can assign issues to participants and also mention a deadline before wh
197199
198200
[![Relative date](https://img.shields.io/date/1577392258?color=important&label=started&logo=github)](https://github.com/vinitshahdeo/) [![Maintenance](https://img.shields.io/maintenance/yes/2020?color=green&logo=github)](https://github.com/vinitshahdeo/)
199201
202+
200203
| <a href="https://fayz.in/stories/s/1522/0/?ckt_id=ZGL1ZGVk&title=story_of_vinit_shahdeo"><img src="assets/vinit-shahdeo.jpg" width=150px height=150px /></a> |
201204
| :----------------------------------------------------------------------------------------------------------------------------------------------------------: |
202205

Resources/infographic.png

444 KB
Loading

assets/rgsoc2020.png

18.6 KB
Loading

src/demo.html

+75-72
Original file line numberDiff line numberDiff line change
@@ -1,76 +1,79 @@
1-
<!doctype html>
1+
<!DOCTYPE html>
22
<html>
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1" />
7+
<meta name="author" content="Vinit Shahdeo" />
8+
<link
9+
href="http://www.jqueryscript.net/css/jquerysctipttop.css"
10+
rel="stylesheet"
11+
type="text/css"
12+
/>
13+
<title>Water Monitoring System</title>
14+
<style>
15+
body {
16+
background-color: #fafafa;
17+
font-family: "Roboto";
18+
}
319

4-
<head>
5-
<meta charset="utf-8">
6-
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
7-
<meta name="viewport" content="width=device-width, initial-scale=1">
8-
<meta name="author" content="Vinit Shahdeo">
9-
<link href="http://www.jqueryscript.net/css/jquerysctipttop.css" rel="stylesheet" type="text/css">
10-
<title>Water Monitoring System</title>
11-
<style>
12-
body {
13-
background-color: #fafafa;
14-
font-family: 'Roboto';
15-
}
20+
.container {
21+
margin: 150px auto;
22+
max-width: 960px;
23+
}
24+
</style>
25+
</head>
1626

17-
.container {
18-
margin: 150px auto;
19-
max-width: 960px;
20-
}
21-
</style>
22-
</head>
27+
<body>
28+
<div class="container">
29+
<h1>Water Tanks</h1>
30+
<div class="loading" style="width: 140px;height: 140px;float:left"></div>
31+
<div class="loading" style="width: 160px;height: 160px;float:left"></div>
32+
<div
33+
class="waterBall1"
34+
style="width: 200px;height:200px; float:left"
35+
></div>
36+
<div class="demo" style="width: 200px;height:200px; float:left"></div>
37+
</div>
38+
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
39+
<script type="text/javascript" src="lib/createWaterBall-jquery.js"></script>
40+
<script>
41+
$(".demo").createWaterBall({
42+
targetRange: 90
43+
});
2344

24-
<body>
25-
26-
<div class="container">
27-
<h1>Water Tanks</h1>
28-
<div class="loading" style="width: 140px;height: 140px;float:left"></div>
29-
<div class="loading" style="width: 160px;height: 160px;float:left"></div>
30-
<div class="waterBall1" style="width: 200px;height:200px; float:left"></div>
31-
<div class="demo" style="width: 200px;height:200px; float:left"></div>
32-
</div>
33-
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
34-
<script type="text/javascript" src="lib/createWaterBall-jquery.js"></script>
35-
<script>
36-
$('.demo').createWaterBall({
37-
targetRange: 90
38-
});
39-
40-
var loadingEle = $('.loading');
41-
var loading_width = loadingEle.width(),
42-
loading_height = loadingEle.height();
43-
$('.loading').createWaterBall({
44-
cvs_config: {
45-
width: loading_width,
46-
height: loading_height
47-
},
48-
wave_config: {
49-
waveWidth: 0.02,
50-
waveHeight: 5
51-
},
52-
data_range: [30, 70, 100],
53-
isLoading: true,
54-
nowRange: 70,
55-
targetRange: 70
56-
});
57-
setTimeout(function () {
58-
$('.loading').createWaterBall('updateRange', 80);
59-
}, 1000);
60-
$('.waterBall1').createWaterBall({
61-
csv_config: {
62-
width: $('.waterBall1').width(),
63-
height: $('.waterBall1').height()
64-
},
65-
wave_config: {
66-
waveWidth: 0.02,
67-
waveHeight: 5
68-
},
69-
data_range: [40, 50, 100],
70-
targetRange: 45
71-
});
72-
</script>
73-
74-
</body>
75-
76-
</html>
45+
var loadingEle = $(".loading");
46+
var loading_width = loadingEle.width(),
47+
loading_height = loadingEle.height();
48+
$(".loading").createWaterBall({
49+
cvs_config: {
50+
width: loading_width,
51+
height: loading_height
52+
},
53+
wave_config: {
54+
waveWidth: 0.02,
55+
waveHeight: 5
56+
},
57+
data_range: [30, 70, 100],
58+
isLoading: true,
59+
nowRange: 70,
60+
targetRange: 70
61+
});
62+
setTimeout(function() {
63+
$(".loading").createWaterBall("updateRange", 80);
64+
}, 1000);
65+
$(".waterBall1").createWaterBall({
66+
csv_config: {
67+
width: $(".waterBall1").width(),
68+
height: $(".waterBall1").height()
69+
},
70+
wave_config: {
71+
waveWidth: 0.02,
72+
waveHeight: 5
73+
},
74+
data_range: [40, 50, 100],
75+
targetRange: 45
76+
});
77+
</script>
78+
</body>
79+
</html>

0 commit comments

Comments
 (0)