7 Commits

Author SHA1 Message Date
974c57d193 Update dependency socket.io to v4.5.2
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2022-09-19 07:01:07 +02:00
aafcbd3e17 Migrate to Gitea
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-09-18 01:07:45 +02:00
Florian Kaiser
f1a1ebd8e1 Create .drone.yml 2022-02-19 23:22:04 +01:00
Florian Kaiser
f1375661a7 Merge pull request #76 from H4CK3R-01/H4CK3R-01-patch-1
Update README.md
2021-07-15 10:06:25 +02:00
Florian Kaiser
7774003ff4 Update README.md 2021-07-15 09:12:44 +02:00
Florian Kaiser
0062d41afd Merge pull request #75 from H4CK3R-01/mobile_design_fix
Fixed css for mobile devices
2021-07-14 23:48:30 +02:00
H4CK3R-01
8a6b676c1e Fixed css for mobile devices 2021-07-14 23:47:47 +02:00
9 changed files with 61 additions and 8 deletions

10
.renovaterc.json Normal file
View File

@@ -0,0 +1,10 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"schedule": ["* 5 * * *"],
"packageRules": [
{
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
"automerge": true
}
]
}

43
.woodpecker.yml Normal file
View File

@@ -0,0 +1,43 @@
pipeline:
generate_docker_tag:
image: golang
commands:
- echo -n "${CI_COMMIT_BRANCH//\//-}-${CI_COMMIT_SHA:0:8}, latest" > .tags
when:
event: push
build:
image: woodpeckerci/plugin-docker-buildx
settings:
repo:
from_secret: repo
username:
from_secret: username
password:
from_secret: password
registry:
from_secret: registry
dockerfile: Dockerfile
platforms: linux/amd64
when:
event: push
deploy:
image: appleboy/drone-ssh
network_mode: host
settings:
host:
from_secret: ssh_host
username:
from_secret: ssh_user
password:
from_secret: ssh_password
script:
- cd ~/docker-compose-files/pm_game
- docker-compose pull
- docker-compose up -d
when:
event: push
branches: main

View File

@@ -1,4 +1,4 @@
# Projektmanagement Game
# Wer wird Projektmanager 2021?
## Docker
### Build
@@ -43,4 +43,4 @@ node Webservice/server.js
```
### Check if it works
Open `http://127.0.0.1:5000` in your Browser
Open `http://127.0.0.1:5000` in your Browser

View File

@@ -103,7 +103,7 @@
white-space: pre;
}
@media only screen and (max-width: 600px) {
@media only screen and (max-width: 980px) {
#chat {
flex-flow: column-reverse;
border-top: #7d7d7d solid 2px;

View File

@@ -101,7 +101,7 @@ main {
height: calc(100% - 50px);
}
@media only screen and (max-width: 600px) {
@media only screen and (max-width: 980px) {
#main {
display: grid;
grid-template-columns: unset;

View File

@@ -28,7 +28,7 @@
background-color: #FFDDA1;
}
@media only screen and (max-width: 600px) {
@media only screen and (max-width: 980px) {
#game {
height: auto;
width: auto;

View File

@@ -45,7 +45,7 @@ header {
flex-direction: column;
}
@media only screen and (max-width: 600px) {
@media only screen and (max-width: 980px) {
header {
height: 5em;

View File

@@ -54,7 +54,7 @@
color: #ffffff;
}
@media only screen and (max-width: 600px) {
@media only screen and (max-width: 980px) {
#login {
align-items: flex-start;
}

View File

@@ -68,7 +68,7 @@
</footer>
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/4.1.2/socket.io.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/4.5.2/socket.io.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/pixi.js/6.0.4/browser/pixi.min.js"></script>
<script src="js/Card.js"></script>
<script src="js/Button.js"></script>