Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 1.48 KB

File metadata and controls

29 lines (23 loc) · 1.48 KB

Dummy Data Generator

📒 Table of contents

About the component

This is a standalone utility which can be used to generate dummy-data for testing purposes. The utility does not have a separate dependencies and is ready to run.
N.B: While running the script, you will be asked if it is okay to clear all the existing data from the database tables. If the response is affirmative the script will continue with its execution. Once the requirements have been set up, the script can be invoked from the command line.

🛠️ Getting started

The instructions for setting the database up can be found in the section RESC-BACKEND which will help you to get a copy of the project up and running on your local machine for generating dummy data.

Generating dummy data

Preview

Ensure resc database is up and running locally.
Open the terminal from components/resc-backend/src/resc_backend/bin/dummy-data-generator folder and run below commands.

Execute command:

python3 generate_data.py