Skip to content

ulcheyev/csat-hangar-maintenance-planner

Repository files navigation

CSAT Hangar Maintenance Planner

The CSAT Hangar Maintenance Planner is a web application developed as part of a collaborative effort between CTU and CSAT. The aim of this project is to enhance aircraft maintenance planning within hangars by providing a platform for creating, managing, and validating maintenance plans. This project is frontend application that works over REST API provided by CSAT Hangar Maintenance Planning System.

Prerequisites

  • Node.js v.16 or newer

Deployment

Locally

  1. Navigate to the project directory

  2. Type the following command

$ npm install
  1. Export environment variable
$ export REACT_APP_STAGE=prod #Backend system is running
$ export REACT_APP_STAGE=dev #Backend system is not running
  1. Start the application
$ npm start

Dockerization

  1. Navigate to the project deploy directory
$ cd project-directory/deploy
  1. Make the dockerization script executable:
$ chmod +x dockerize-app.bash
  1. Run the script
$ ./dockerize-app.bash
  1. If the required values ($HANGAR_PLANNER_EXPOSE_PORT, $HANGAR_SERVER_URL) are not provided as environment variables, the script will prompt to enter them.
  2. After everything is set up, script starts the Docker container with the correct environment settings.

Netlify

Dev branch deploy

Netlify Status

Main branch deploy

Netlify Status

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published