forked from remotemobprogramming/timer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
41ae248
commit eb712e0
Showing
9 changed files
with
297 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
./mvnw spring-boot:build-image && docker push simonharrer/mob-timer && ssh [email protected] 'bash -s' < deploy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
docker stop mobtimer | ||
docker rm mobtimer | ||
docker run -d -e VIRTUAL_HOST=timer.mob.sh -e LETSENCRYPT_HOST=timer.mob.sh -e [email protected] -e PORT=80 --expose 80 --network=proxy --pull always --name mobtimer simonharrer/mob-timer:latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
spring.main.banner-mode=off | ||
server.port=${PORT:8080} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,21 +2,42 @@ | |
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
|
||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous"> | ||
<title>Mob Timer</title> | ||
</head> | ||
<body> | ||
<h1>Mob Timer</h1> | ||
|
||
<ul> | ||
<li>Rooms: [[${numberOfRooms}]]</li> | ||
<li>Users: [[${numberOfUsers}]]</li> | ||
<li>Connections: [[${numberOfConnections}]]</li> | ||
<div class="col-lg-8 mx-auto p-3 py-md-5"> | ||
<header class="d-flex align-items-center pb-3 mb-5 border-bottom"> | ||
<a href="/" class="d-flex align-items-center text-dark text-decoration-none"> | ||
<span class="fs-4">Mob Timer</span> | ||
</a> | ||
</header> | ||
|
||
<main> | ||
<h1>Mob Timer</h1> | ||
|
||
<ul class="list-unstyled"> | ||
<li>Rooms <span class="badge rounded-pill bg-info text-dark">[[${numberOfRooms}]]</span></li> | ||
<li>Users <span class="badge rounded-pill bg-info text-dark">[[${numberOfUsers}]]</span></li> | ||
<li>Connections <span class="badge rounded-pill bg-info text-dark">[[${numberOfConnections}]]</span></li> | ||
</ul> | ||
|
||
<form method="post"> | ||
<label>Room <input type="text" id="room" name="room" placeholder="room"/></label> | ||
<button type="submit">Join</button> | ||
</form> | ||
<form method="post"> | ||
<div class="input-group mb-3"> | ||
<span class="input-group-text" id="basic-addon3">https://timer.mob.sh/</span> | ||
<input class="form-control" type="text" id="room" name="room" placeholder="room" required/> | ||
<button type="submit" class="btn btn-primary">Join</button> | ||
</div> | ||
</form> | ||
</main> | ||
<footer class="pt-5 my-5 text-muted border-top"> | ||
Created by <a href="https://twitter.com/simonharrer">Dr. Simon Harrer</a> & <a href="https://twitter.com/jochen_christ">Jochen Christ</a> · © 2021 | ||
</footer> | ||
</div> | ||
|
||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script> | ||
</body> | ||
</html> | ||
</html> |
Oops, something went wrong.