Coder Social home page Coder Social logo

akatranlp / gs-analysis-thesis Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 10.79 MB

Repo zu meiner Bachelorthesis an der Hochschule Flensburg

License: GNU General Public License v3.0

Dockerfile 1.22% TypeScript 73.54% PowerShell 0.52% TeX 18.73% Shell 0.59% HTML 0.90% JavaScript 2.01% CSS 0.04% FLUX 2.45%

gs-analysis-thesis's Introduction

gs-analysis

Repo zu meiner Bachelorthesis an der Hochschule Flensburg

Konfiguration

Die Datei ./apps/gs-analysis/config-sample.json ist eine Beispiel-Datei der Konfiguration. Kopiert und ändert die Konfiguration mit euren Daten ab.

Build-Optionen:

Es gibt zwei Arten den Prototypen zu bauen:

Docker

Für Docker muss die Konfiguration im Ordner /opt/config/gs-analysis/config.json liegen, dann kann man einfach den Befehl npm run docker-app ausführen.

Andernfalls führt man diese beiden Befehle aus:

  • docker build -t {image-name} . -- Erstellt das Docker-Image
  • docker run -v {path-to-config}:/app/config.json -e CONFIG_FILE=/app/config.json -it --net=host --name {container-name} {image-name} -- Führt das Docker-Image aus

Direkt auf dem PC

Um den Prototypen direkt auf dem PC auszuführen muss die Umgebungsvariable CONFIG_FILE auf den Pfad der Konfigurationsdatei gesetzt werden.

Anschließend kann der Prototyp mit diesen vier Befehlen gestartet werden:

  • npm install -- Installiert die Benötigten Abhängigkeiten
  • npm run prod-build -- Baut den gesamten Prototypen und kopiert die Webapp-Dateien in den Public-Folder der API
  • npm run deployCommands -w=gs-analysis -- Sendet die SlashCommands des Discord-Bots zu Discord
  • npm run start -w=gs-analysis -- Startet die gesamte Applikation des Prototypen

gs-analysis-thesis's People

Contributors

akatranlp avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.