Recursively clone the code repo (it needs submodule from text2qti repo):
git clone --recurse-submodules https://github.com/substance9/text2qti-web.git
In the root directory of the project...
- Install node modules
yarn installornpm install. - Install Python dependencies
yarn install-requirementsornpm install-requirements - Start development server
yarn startornpm start.
text2qti-web also supports Docker container. To run the container version:
docker-compose builddocker-compose up
The front-end is based on create-react-app.
The back-end is based on Flask.
.
├── src - React front-end
│ ├── components - React components for each page
│ ├── App.jsx - React routing
│ └── index.jsx - React root component
├── server/ - Flask server that provides API routes and serves front-end
│ ├── text2qti - text2qti Python program/lib
│ ├── constants.py - Defines the constants for the endpoints and port
│ └── server.py - Configures Port and HTTP Server and provides API routes
└── README.md