Make sure you have Nodejs 10 and Mongodb 4.2 installed in your system.
- Navigate inside Autopilot-Scheduler-App directory.
- Install the required packages using the command
npm install
. - Run the
index.js
file usingnode index
command. The Scheduler App development server will start listening athttp://127.0.0.1:3000/
. - Navigate inside Autopilot-Executor-App directory.
- Repeat the steps 2 and 3 for Autopilot-Executor-App directory
The Scheduler App development server will start listening at
http://127.0.0.1:8000/
. - Navigate Back to Root Directory.
- Change the Execution time in
script.sh
as per your requirement. - Run the
script.sh
file using./script.sh
command. - The Executor will make the API call at the given execution time.