The Cognitive Engine UI is a frontend module for managing machine learning models and their life cycles within the cognitive framework. This application allows users to track, train, and experiment with different models, parameters, and datasets.
Ensure you have the following software installed on your machine:
- Node.js (v18.20.0 or higher)
It is highly recommended to install nvm (node package manager) and use to manage node version
- nvm (0.39.0 or higher)
- Clone the repository to your local machine:
git clone https://github.com/HIRO-MicroDataCenters-BV/cog-framework-ui
- Navigate to the project directory and switch node version using nvm. node version is defined in .nvmrc file
cd cog-framework-ui
nvm use
- Run
npm install
inside the cloned dir to install the packages described in package.json:
npm install
This will ensure all dependencies are correctly installed and verified.
- Start the dev server by running the command below.
npm ng serve
- Navigate to
http://localhost:4200/
. The app will automatically reload if you change any of the source files.- Shut it down manually with
Ctrl-C
.
- Shut it down manually with
This project includes a Docker configuration to simplify the process of setting up and running the application. Follow the steps below to build and run the Docker image.
Ensure you have Docker installed on your machine.
- Building the Docker Image
docker build . -t cog
- Running the Docker Container Once the image is built, you can run a container from it:
docker run -p 80:80 cog:latest
-p 80:80
maps port 80 on your host to port 80 in the container. Adjust the port numbers as necessary based on your application configuration.
For source project license, contact administrator for license. The Cog Framework License