Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Latest commit

 

History

History
47 lines (30 loc) · 2.18 KB

README.md

File metadata and controls

47 lines (30 loc) · 2.18 KB

CircleCI Maintainability Test Coverage OpenAPI Validator

Vendor Management Data Loading Application

The data loading management application will provide an interface for users to upload vendor data for processing, schedule automated vendor data loading jobs, and review status and results of data loading jobs.

The application will also provide an API interface to be consumed by the data loading pipeline to run the data loading jobs and execute any specified data processing tasks.

Install Dependencies

Ruby dependencies can be installed with bundle install, JavaScript dependencies are installed via yarn install.

NOTE: Data loading management uses Ruby 3.1.2.

Development

Start up dependencies with docker compose up db (with -d to run in background).

NOTE: If you get failures that references missing assets, you may need to manually compile them via:

bin/rake css:build

Running the test suite

  • Start the database container: docker compose up db
  • Initialize the test database: RAILS_ENV=test bin/rails db:prepare
  • Run the linter and the test suite: bin/rake

Development Server

Run the asset pipeline and webserver via:

bin/dev

You can change your username by setting the REMOTE_USER environment variable.

NOTE: this will automatically install the foreman gem (which should not be in the Gemfile per this wiki article).