Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 1.12 KB

README.md

File metadata and controls

55 lines (36 loc) · 1.12 KB

Getting Started

Requirements

Setup

Open two terminals, one for the frontend and one for the backend.

In the backend terminal, run the following commands:

cd server
pip install -r requirements.txt

In the frontend terminal, run the following commands:

cd web
yarn install

Configuring RTL Power command

Currently, the api is configured to run the following command:

"rtl_power -f 24M:100M:1M -i 1s -g 50 -1 data/data" + str(dataIndex) + ".csv"

If you want to change it at all, you can do so in the server/rtl_power_loop.py file.

Running the App

In the backend terminal, run the following commands:

py api.py

In the frontend terminal, run the following commands:

yarn dev

Viewing the App

Open http://localhost:3000 with your browser to see the result.