Skip to content
Snippets Groups Projects
Verified Commit bdcb38d4 authored by Jonas Zohren's avatar Jonas Zohren :speech_balloon:
Browse files

Initial commit

parents
No related branches found
No related tags found
No related merge requests found
Pipeline #143056 passed
node_modules
public
\ No newline at end of file
static/* filter=lfs diff=lfs merge=lfs -text
node_modules
public
dist
\ No newline at end of file
stages:
- "build"
- "deploy"
build_docker_main:
stage: "build"
image:
name: "gcr.io/kaniko-project/executor:debug"
entrypoint: [ "" ]
script:
- "mkdir -p /kaniko/.docker"
- 'echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json'
- "/kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:commit-$CI_COMMIT_SHORT_SHA --destination $CI_REGISTRY_IMAGE:latest"
rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
build_docker_branches:
stage: "build"
image:
name: "gcr.io/kaniko-project/executor:debug"
entrypoint: [ "" ]
script:
- "mkdir -p /kaniko/.docker"
- 'echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json'
- "/kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:commit-$CI_COMMIT_SHORT_SHA --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG-latest"
rules:
- if: '$CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH'
deploy_to_caprover:
stage: "deploy"
image:
name: "caprover/cli-caprover:latest"
entrypoint: [ "" ]
variables:
# We don't need the files, just tell CapRover to use the built docker image:
GIT_STRATEGY: none
script:
- "caprover deploy -h https://captain.$CAPROVER_URL -a $CAPROVER_APP --imageName $CI_REGISTRY_IMAGE:commit-$CI_COMMIT_SHORT_SHA"
environment:
name: "production"
url: "https://oh14.dev"
rules:
- if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CAPROVER_URL && $CAPROVER_APP_TOKEN && $CAPROVER_APP"
FROM node:18-alpine AS build
WORKDIR /build
COPY package.json package-lock.json /build/
RUN npm install --ignore-scripts
COPY . .
RUN npm run build
FROM pierrezemb/gostatic AS final
COPY --from=build /build/public/ /srv/http/
\ No newline at end of file
LICENSE 0 → 100644
MIT License
Copyright (c) 2023 Jonas Zohren
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
# Landing Page for oh14.dev
![Landing page, showing cards of the various projects](static/landing-page-screenshot.png)
## Contributing
- You need to have NodeJS and git-lsf installed.
- Clone this repo
```bash
npm install --ignore-scripts
npm run dev
```
And open http://localhost:5173/
{
"schemaVersion" :2 ,
"dockerfilePath" : "Dockerfile"
}
\ No newline at end of file
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>oh14.dev</title>
<meta
name="description"
content="Inoffizielle Projekte rund um das Informatik-Studium an der TU Dortmund"
/>
<link rel="stylesheet" href="node_modules/bulma/css/bulma.min.css" />
<link
rel="stylesheet"
href="node_modules/bulma-prefers-dark/css/bulma-prefers-dark.min.css"
/>
<link rel="shortcut icon" href="static/favicon.png" type="image/png">
</head>
<body>
<!-- Header: -->
<section class="hero is-bold">
<div class="hero-body">
<div class="container">
<h1 class="title">oh14.dev</h1>
<h2 class="subtitle">
Inoffizielle Projekte rund um das Informatik-Studium an der TU
Dortmund
</h2>
<a
class="button is-rounded is-outlined"
href="https://gitlab.fachschaften.org/oh14-dev"
>
Zum gesammelten Quellcode
</a>
</div>
</div>
</section>
<!-- Actual content: -->
<main class="section">
<div class="container">
<div class="columns is-multiline">
<!-- Cards: -->
<div class="column is-half-tablet is-one-third-desktop">
<div class="card">
<div class="card-image">
<figure class="image is-16by9">
<img src="static/fsinfo-chats.png" alt="Placeholder image" />
</figure>
</div>
<div class="card-content">
<div class="content">
<h3>Telegram Chats</h3>
<p>
Liste öffentlicher Telegram-Chats, die von Informatik-Studis
genutzt werden
</p>
</div>
</div>
<footer class="card-footer">
<p class="card-footer-item">
<a href="https://t.me/fsinfochats"> Chat-Liste </a>
</p>
<p class="card-footer-item">
<a href="https://gitlab.fachschaften.org/oh14-dev/chats">
Quellcode
</a>
</p>
</footer>
</div>
</div>
<div class="column is-half-tablet is-one-third-desktop">
<div class="card">
<div class="card-image">
<figure class="image is-16by9">
<img src="static/wrums-tools.png" alt="Placeholder image" />
</figure>
</div>
<div class="card-content">
<div class="content">
<h3>WrumS Tools</h3>
<p>
Rechenweg-Hilfen zum Verständnis von
<i
>Wahrscheinlichkeitsrechnung und Mathematische Statistik
für Informatik</i
>
</p>
</div>
</div>
<footer class="card-footer">
<p class="card-footer-item">
<a href="https://wrums-tools.oh14.dev">
Web-Version
</a>
</p>
<p class="card-footer-item">
<a
href="https://gitlab.fachschaften.org/oh14-dev/wrums-tools"
>
Quellcode
</a>
</p>
</footer>
</div>
</div>
<div class="column is-half-tablet is-one-third-desktop">
<div class="card">
<div class="card-image">
<figure class="image is-16by9">
<img src="static/gib-geld.jpg" alt="Hands counting money bills" />
</figure>
</div>
<div class="card-content">
<div class="content">
<h3>🚧 Gib Geld, FSR!</h3>
<p>
Generiert ein PDF, um ausgelegtes Geld vom Fachschaftrat zurück zu bekommen
</p>
</div>
</div>
<footer class="card-footer">
<p class="card-footer-item">
<a href="https://gib-geld.oh14.dev">
Web-Version
</a>
</p>
<p class="card-footer-item">
//TODO: Quellcode
</p>
</footer>
</div>
</div>
<div class="column is-half-tablet is-one-third-desktop">
<div class="card">
<div class="card-image">
<figure class="image is-16by9">
<img src="static/ra-tools.png" alt="Placeholder image" />
</figure>
</div>
<div class="card-content">
<div class="content">
<h3>🚧 RA Tools</h3>
<p>
Tools zum besseren Verständnis des Moduls
Rechnerarchitektur, inkl. LRU-Matrix.
</p>
</div>
</div>
<footer class="card-footer">
<p class="card-footer-item">
<a href="https://ra-tools.oh14.dev">
Web-Version
</a>
</p>
<p class="card-footer-item">
<a href="https://gitlab.fachschaften.org/oh14-dev/ra-tools">
Quellcode
</a>
</p>
</footer>
</div>
</div>
<!-- End of Cards -->
</div>
</div>
</main>
<!-- Footer: -->
<footer class="footer has-text-centered">
<div class="container">
<div class="columns">
<div class="column">
<a href="impressum.html">Impressum</a>
</div>
<div class="column">
<a href="datenschutz.html">Datenschutz</a>
</div>
<div class="column">
<a href="http://bulma.io">Made with Bulma</a>
</div>
</div>
<p class="has-text-weight-light">
Für offizielle Angebote der Fachschaft Informatik bitte hier entlang:
<a href="https://fachschaften.org">fachschaften.org</a>.
</p>
</div>
</footer>
</body>
</html>
This diff is collapsed.
{
"dependencies": {
"bulma": "^0.9.4",
"bulma-prefers-dark": "^0.1.0-beta.1",
"vite": "^4.1.1"
},
"scripts": {
"dev": "vite",
"build": "vite build --outDir ./public"
}
}
static/favicon.png

129 B

static/fsinfo-chats.png

130 B

static/gib-geld.jpg

130 B

static/landing-page-screenshot.png

131 B

static/ra-tools.png

130 B

static/wrums-tools.png

130 B

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment