Flare
Description
Flare is a student-built and maintained web application that visualizes data generated by Artificial Intelligence models. Flare helps stakeholders and researchers track model progress, assess performance, and gain valuable information from AI outputs.
Prerequisites
- Docker Desktop: Ensure Docker Desktop is installed and running to manage containerized applications.
- Linux/WSl: Required to ensure permissions are handled appropriately.
- Node.js and NVM: Use Node Version Manager (NVM) to manage Node versions, ensuring compatibility with the frontend Vue app.
- Installation: Detailed below in Vue Development Setup
To set up and run Flare in a Docker container:
- Set Up Environment Variables and Nginx:
- Create a .env file in the project’s root directory. This file will contain environment variables needed by Docker.
- Copy the contents from env.dist and update the values with your own variables.
- Create a nginx.conf file in the project's root directory.
- Copy and paste nginx.conf.template's contents into nginx.conf
- Replace Port and ServerName with the correct variables.
- Ensure that Docker Desktop is running on your machine.
- Ensure you are using a Linux/WSL terminal.
- Start in the root directory: 'cd CDL-Broadcast'
- Run 'docker compose build' and 'docker compose up' (run 'docker compose up -d' to run in the background)
- If you make changes to the code make sure you 'docker compose down' and then repeat step 4.
Vue Development Setup(Frontend)
- Use nvm (Node Version Manager) to switch to the Node version specified in the frontend container.
- Change to the Vue app directory 'cd CDL-Broadcast/vue-ui'
- Run the development enviornment : 'npm run dev'
Authors