Skip to content

Mubadala-ACCESS/maccessdashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Running app.py

Prerequisites

Ensure you have Python installed. If not, download and install it from Python's official website.

Installation and Setup

Step 1: Install Python Virtual Environment

sudo apt-get install python3-venv  # For Debian-based systems

Step 2: Create a Virtual Environment

python3 -m venv venv

Step 3: Activate the Virtual Environment

For Linux/macOS:

source venv/bin/activate

For Windows (PowerShell):

venv\Scripts\Activate

Running the Application

Start app.py in the Background with Logging

nohup python3 app.py > app.log 2>&1 &

Checking Logs

You can check the logs by running:

tail -f app.log

Stopping the Application

To stop the application, find its process ID (PID) using:

ps aux | grep app.py

Then, kill the process:

kill <PID>

Deactivating the Virtual Environment

To deactivate the virtual environment, simply run:

deactivate

This will return you to the system’s default Python environment.

About

A Dashboard that Displays all of Mubadala-ACCESS stations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages