Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 731 Bytes

README.md

File metadata and controls

45 lines (33 loc) · 731 Bytes

Meter Usage Application Spectral Energy

This repository contains the code for a meter usage application consisting of a server and a client component.

Setup

Follow these steps to set up and run the application:

1. Create Virtual Environment

python3 -m venv venv

2. Activate Virtual Environment

On Windows:

venv\Scripts\activate

On Unix or MacOS:

source venv/bin/activate

3. Install requirements

pip install -r requirements.txt

4. Run Server

cd  spectralEnergy/grpc_server/
python meterusage_server.py

5. Run Client

cd spectralEnergy/flask_client/
python app.py

6. Browse Application

Browse localhost:5000