AI-DOJO Project Instructions
Build
To build the application, run the following command:
ng build
Development Server
Start the development server by running:
ng serve
Navigate to [http://localhost:4200/] in your browser. The application will automatically reload when you make changes to the source files.
Docker
-
First-Time Setup or After Changes:
If this is your first time starting the application or if you've made changes to the app, use:
docker-compose up --build -d
-
Starting Without Changes:
If no changes have been made and the build was successful, simply run:
docker-compose up -d
-
Shutting Down the Application:
To turn off the application, run:
docker-compose down
Kibana, Cryton, and Agents
To correctly load Kibana, Cryton, or Textual Agents, ensure the port configuration in their respective HTML files is accurate:
- Navigate to the HTML file for the desired component (
cryton
,textual-agents
, orkibana
). - Update the
src
attribute in the iframe tag:
ReplaceXXXX
in:src="http://localhost:XXXX"