Team Name: InnovateX.
Project Description: Using LLMs to interpret, predict, and manage crowd control.
- Windows or Linux operating systems.
- Docker installed on your local machine.
- acquire API keys from LTA Datamall and HERE Technologies (need to edit python_tokens.py)
-
Clone Repository:
- Clone the repository to your local machine:
git clone https://github.com/J0JIng/NUS-NCS-Hackathon-2024
- Clone the repository to your local machine:
-
Navigate to Project Directory:
- Open your terminal and navigate to the project directory:
cd /mypath/NUS-NCS-Hackathon-2024
- Open your terminal and navigate to the project directory:
-
Build Containers individually:
- Build the container for the backend:
cd backend docker build .
- Build the container for the front-end:
(note: npm install might take a while)
cd ../frontend docker build . cd ..
- Build the container for the backend:
-
Optional, Use Script for Building:
-
If you prefer, you can use the provided script to start the containers. For Linux, you can use the script
start_script.sh
../start_script.sh
-
-
Build Docker Containers collectively:
- Use the following command in the terminal to build the Docker containers:
docker compose build
- Use the following command in the terminal to build the Docker containers:
-
Run Containers:
- After building the containers, run them using the following command:
docker compose up
- After building the containers, run them using the following command:
-
Access Web App:
- Once the containers are running, open your favorite web browser.
- Navigate to:
localhost:19006/
- It might take a little a while to load the response from Gemini.