Skip to content

SPF-Open/Tao_import

Repository files navigation

Tao Import

Svelte web app to convert Excel files to QTI and CSV.

Target

This application is intended for the testing team of the SPF Finances. It allows them to convert Excel files into QTI and CSV formats. No changes will be made to comply to use cases other than those of the SPF Finances test team.

How to use

  1. Upload your Excel file with drag and drop or by clicking on the "Select file" button.
  2. Select the format you want to convert your Excel file to (QTI, CSV, PDF).
  3. Click on the "Download Export" button to generate your file.

Requirements

  • Node.js
  • npm

Installation

  1. Clone the repository: git clone https://github.com/username/repo.git
  2. Install the dependencies: pnpm install
  3. Start the development server: pnpm run dev
  4. Open the link provided in the console.

Build

  1. Run the build command: npm run build
  2. The build files will be located in the public directory.

Options

  • Sheet: This option allows you to choose the sheet you want to convert.
  • Format: This option allows you to choose the format you want to convert your Excel file to.
  • Language: This option allows you to choose the language of the Excel file you want to convert.
  • Answers: This option allows you to hide the answers in your PDF.
  • Row offset: This option allows you to choose the row you want to start the conversion from.
  • Column: This option allows you to define the column that contains the information you want to convert.

Notes

  • The Excel file must follow a specific format to be converted to QTI or CSV.
  • The QTI file generated by this application is only compatible with TAO.