Git Product home page Git Product logo

winningtool's Introduction

WinningTool

A Tool to automatically generate inputs for the IBSYS 2 Supply Chain Simulator

Einrichten von SQLite

Die vorkompilierten Binaries von SQLite befinden sich im Ordner .\sqlite\. Darin befindet sich das Programm sqlite3.exe zur Ausführung von SQLite. Um SQLite im Programm oder in der Kommandozeile auszuführen, muss das oben genannte Verzeichnis des Programms zur PATH Umgebungsvariable hinzugefügt werden.

Zum Einsehen der Datenbank in VSCode kann die SQLite Extension installiert werden. Die Nutzung wird auf der Downloadseite beschrieben.

Installieren der Requirements

pip install -r requirements.txt

Hosting der Webseite mit Heroku

Dies ist die Dokumentation des Hostings der Webseite mit Heroku. Es ist daher nicht erforderlich alle Schritte erneut durchzuführen.

  1. Auf Heroku eine neue App namens scp-winningtool erstellt.
  2. Installiere die Heroku CLI
  3. Öffne das Terminal in VS Code und führe folgende Befehle aus:
    1. heroku login
    2. git:remote -a "scp-winningtool"
    3. git push heroku main, wobei main die branch ist die gehostet werden soll
  4. Folge i.A. den Anweisungen auf dieser Seite
  5. Heroku braucht für das Deployment ein Procfile, siehe: https://devcenter.heroku.com/articles/getting-started-with-python#define-a-procfile
  6. Das Programm kann nun unter https://scp-winningtool.herokuapp.com/ aufgerufen werden.

Hosting der Webseite mit Azure

Das Programm kann unter https://winningtool.azurewebsites.net/ aufgerufen werden.

Programm lokal starten

Führe dazu run.py aus und öffne den angezeigten Link (http://127.0.0.1:5000/)

winningtool's People

Contributors

hore1014 avatar jemelin99 avatar davbm 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.