User Interface for DMT Clearinghouse (DMTC).
The DMTC interface is a single-page web application developed using Vue 3 and designed to be hosted by an Apache web server.
Required components to build and test the web application on a local development system include:
devel
, testing
, or master
(production) branches of the repositoryThe module dependencies for the application are not included in the repository due to size requirements and should be installed in the local build/development environment by changing into the ui
directory, and executing the npm install
command.
For interactive development and previewing of updates, the npm run serve
command can be run from the ui
directory. Saved changes to the application source code will be reflected in the locally running instance of the application interface at localhost:8080
in a web browser.
Following successful installation of the application dependencies the production code for the application can be generated by changing into the ui
directory and executing the npm run build
command.
The three provided shell scripts:
rebuild-restart-devel.sh
, rebuild-restart-testing.sh
, and rebuild-restart-production.sh
automate the process of checking out the appropriate repository branch, stopping (if running) the corresponding apache web server (devel, testing, or production), removing and rebuilding the corresponding Docker image, and restarting the corresponding Docker container. When these commands are executed the running containers and associated user interface can be accessed at:
localhost:8082
localhost:8081
localhost:80