Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
Merge branch 'beta' into confirm-impfb
Browse files Browse the repository at this point in the history
  • Loading branch information
timreibe committed May 26, 2021
2 parents 9dfd7e4 + 69c0a71 commit 2411caa
Show file tree
Hide file tree
Showing 189 changed files with 194 additions and 30,854 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Build workflow
# Builds the application for windows and ubuntu to test whether the latest commit builds or not.
name: build

on:
push:
workflow_dispatch:

jobs:
build-windows:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup Python
uses: actions/[email protected]
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Build Windows
run: pyinstaller --clean --noconfirm specs/windows-terminservice.spec
build-linux:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup Python
uses: actions/[email protected]
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Build Linux
run: pyinstaller --clean --noconfirm specs/linux-64-terminservice.spec
46 changes: 0 additions & 46 deletions .github/workflows/build_linux.yaml

This file was deleted.

76 changes: 0 additions & 76 deletions .github/workflows/build_windows.yaml

This file was deleted.

90 changes: 90 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
# Deploy workflow
# Builds the application for windows and ubuntu and creates distributable. Then creates a new
# Github release with the tag name and uploads the distributables to the release.
# Runs only on "v*" tags like "v1.0.0".
name: deploy

on:
push:
tags:
- v*
workflow_dispatch:

jobs:
build-windows:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup Python
uses: actions/[email protected]
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Build Windows
run: pyinstaller --clean --noconfirm specs/windows-terminservice.spec
- name: Chocolatey install innosetup
uses: crazy-max/[email protected]
with:
# Arguments to pass to Chocolatey
args: install innosetup --install-arguments="'/DIR=../innosetup'" --force
- name: Run innosetup
run: ../innosetup/ISCC.exe specs/windows-terminservice.iss
- name: Zip
uses: papeloto/action-zip@v1
with:
files: dist/
dest: vaccipy-windows.zip
- name: Store windows zip as build artifact
uses: actions/upload-artifact@v2
with:
name: vaccipy-windows
path: vaccipy-windows.zip
- name: Store windows installer as build artifact
uses: actions/upload-artifact@v2
with:
name: vaccipy-windows-installer
path: installers/vaccipy_installer.exe

build-linux:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup Python
uses: actions/[email protected]
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Build Linux
run: pyinstaller --clean --noconfirm specs/linux-64-terminservice.spec
- name: Zip
uses: papeloto/action-zip@v1
with:
files: dist/
dest: vaccipy-ubuntu.zip
- name: Store windows build artifact
uses: actions/upload-artifact@v2
with:
name: vaccipy-ubuntu
path: vaccipy-ubuntu.zip

release:
runs-on: ubuntu-latest
needs: [build-windows, build-linux]
steps:
- name: Download build files
uses: actions/download-artifact@v2
- uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
files: |
vaccipy-windows-installer/vaccipy_installer.exe
vaccipy-windows/vaccipy-windows.zip
vaccipy-ubuntu/vaccipy-ubuntu.zip
45 changes: 26 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# vaccipy
[![build-windows](https://github.com/iamnotturner/vaccipy/actions/workflows/build_windows.yaml/badge.svg?branch=master)](https://github.com/iamnotturner/vaccipy/actions/workflows/build_windows.yaml)
[![build-linux-64](https://github.com/iamnotturner/vaccipy/actions/workflows/build_linux.yaml/badge.svg)](https://github.com/iamnotturner/vaccipy/actions/workflows/build_linux.yaml)
[![build](https://github.com/iamnotturner/vaccipy/actions/workflows/build.yaml/badge.svg?branch=master)](https://github.com/iamnotturner/vaccipy/actions/workflows/build.yaml)
[![deploy](https://github.com/iamnotturner/vaccipy/actions/workflows/deploy.yaml/badge.svg)](https://github.com/iamnotturner/vaccipy/actions/workflows/deploy.yaml)

Automatisierte Impfterminbuchung auf [www.impfterminservice.de](https://www.impfterminservice.de/).

Expand All @@ -22,32 +22,29 @@ Automatisierte Impfterminbuchung auf [www.impfterminservice.de](https://www.impf

## Downloads

> ⚠️ Google Chrome muss auf dem PC installiert sein (Windows, Mac und Linux)
> ⚠️ Google Chrome muss auf dem PC installiert sein (Windows, Mac und Linux)
Download neuste Version:

<a href="https://cntr.click/pz01KSQ">
<img width="100" height="90" src="https://upload.wikimedia.org/wikipedia/de/thumb/c/c2/Microsoft_Windows_7_logo.svg/2000px-Microsoft_Windows_7_logo.svg.png">
</a>
<a href="https://cntr.click/6Q0PXkK">
<img width="180" heigth="60" src=https://logos-world.net/wp-content/uploads/2020/11/Ubuntu-Emblem.png>
<a href="https://cntr.click/rS9Ds4R">
<img width="60" height="50" src="https://upload.wikimedia.org/wikipedia/de/thumb/c/c2/Microsoft_Windows_7_logo.svg/2000px-Microsoft_Windows_7_logo.svg.png">
</a>
<a href="https://cntr.click/mN1MPzc">
<img width="90" heigth="30" src=https://logos-world.net/wp-content/uploads/2020/11/Ubuntu-Emblem.png>
</a></br></br>

#### BETA Version

Der BETA-Branch enthält neue, noch nicht final getestete Features. [Sollten Fehler auftreten könnt ihr hier ein Issue erstellen.](https://github.com/iamnotturner/vaccipy/issues)

#### BETA Version

<a href="https://cntr.click/C476snF">
<img width="60" height="50" src="https://upload.wikimedia.org/wikipedia/de/thumb/c/c2/Microsoft_Windows_7_logo.svg/2000px-Microsoft_Windows_7_logo.svg.png">
</a>
<a href="https://cntr.click/R83AXwY">
<img width="90" heigth="30" src=https://logos-world.net/wp-content/uploads/2020/11/Ubuntu-Emblem.png>
</a>
Der BETA-Branch enthält neue, noch nicht final getestete Features. [Sollten Fehler auftreten könnt ihr hier ein Issue erstellen.](https://github.com/iamnotturner/vaccipy/issues)

## Releases
[Link zum neusten Release](https://github.com/iamnotturner/vaccipy/releases/latest)
Mehr Informationen, wie die Releases funktionieren findest du [hier](https://github.com/iamnotturner/vaccipy/blob/master/docs/distribution.md).

## Ausgangssituation

Unsere Großeltern möchten sich gerne impfen lassen, aber telefonsich unter 116117 kommen sie nicht durch und das Internet
Unsere Großeltern möchten sich gerne impfen lassen, aber telefonisch unter 116117 kommen sie nicht durch und das Internet
ist auch noch immer irgendwie Neuland. Jetzt kommt es zum Konflikt: einerseits möchte man natürlich gerne bei der Terminbuchung helfen,
andererseits hat man aber auch keine Lust, deshalb nun den ganzen Tag vor dem Computer zu hocken und die Seite zu aktualisieren...

Expand Down Expand Up @@ -200,6 +197,14 @@ pip3 install -r requirements.txt
>
> "[...] Um das Tool dann zum Laufen zu bringen, könntest du zum Beispiel eine [Ausnahme in den Windows-Sicherheiteinstellungen hinzufügen.](https://support.microsoft.com/de-de/windows/hinzufügen-eines-ausschlusses-zu-windows-sicherheit-811816c0-4dfd-af4a-47e4-c301afe13b26)"
## Ausführung unter Linux
1) [`vaccipy` downloaden](#Downloads)
2) .zip Ordner entpacken
3) Eventuell notwendig: Die Terminservice- und Driver-Executable ausführbar machen.
Dazu das Terminal zum `linux-64-terminservice`-Ordner navigieren und folgenden Befehl ausführen:
`sudo -- sh -c 'chmod +x ./linux-64-terminservice; chmod +x ./tools/chromedriver/chromedriver-linux-64'`
4) Im `linux-64-terminservice`-Ordner die `./linux-64-terminsvervice`-Executable per Terminal ausführen.

## Ausführung in der Kommandozeile

`vaccipy` kannst du über die Kommandozeile oder in einer beliebigen python-Entwicklungsumgebung
Expand Down Expand Up @@ -248,6 +253,9 @@ python3 main.py search -f max-mustermann.json
Beispiel: `chromedriver`


Für eine bessere Nutzererfahrung erstellen wir verschiedene Distributionen, die ohne Installation von Python direkt ausgeführt werden können.
Die Distributionen können im [neusten Release heruntergeladen werden](https://github.com/iamnotturner/vaccipy/releases/latest).

## Programmdurchlauf

<img src="https://github.com/iamnotturner/vaccipy/blob/master/images/beispiel_programmdurchlauf.png">
Expand All @@ -264,7 +272,6 @@ werden (von uns oder euch - feel free!) irgendwann hinzukommen:
- [ ] Github Pages
- [ ] Macosx Build / Pipeline (Mac currently blocks the app: [Branch](https://github.com/iamnotturner/vaccipy/tree/mac-intel-build))
- [ ] Code Zertifikate für Windows (gegen Virusmeldung)
- [ ] Artifacts, Packages und Releases

## Das kann vaccipy NICHT - und wird es auch nie können

Expand Down
Binary file not shown.
Binary file removed dist/linux-64-terminservice/base_library.zip
Binary file not shown.
Loading

0 comments on commit 2411caa

Please sign in to comment.