Skip to content

About

A Dashboard that Displays all of Mubadala-ACCESS stations

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

20 Commits

Folders and files

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

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages