Skip to content

eszter007/erp-planspiel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ERP Planspiel Dashboard

A dashboard for monitoring the ERPsim game from HEC Montreal.

It allows players to quickly analyze the data that is relevant for the game. The data is updated every 10 seconds.

Screenshot of Dashboard

Viewing the dashboard

Requirements

A machine running Python3 is needed. Running the application in a virtual environemnt is highly recommended. Install the dependencies via

pip3 install -r requirements.txt

1. Viewing the dashboard locally

Set-up environment secrets

Create a file named .env in the main folder. Put your credentials and server url in it.

SERVICEURL=put_the_url_from_the_sap_system
USERNAME=your_username
PASSWORD=your_password

You can find the URL in the OData-Service tab in the SAP system. It is the same one that is required to connect with Excel.

Run the project

You can run the project via

python3 app.py

You will see your dashboard at http://127.0.0.1:8050/ in your browser.

2. Deploy via Haroku

In order to access the dashboard outside your local network, you need to deploy it. The easiest way and how it is configured currently is to use Heroku. It is free to use.

The way how to do it is documented here.

As the username and password are not exposed in the code, it is necessary to configure them as seen here.

The keys and values are the same as specified in 1. of this readme.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages