The renders which can be added, but at the cost of latency:
This project is designed to be run inside a Docker container, following the Hackathon requirements.
Prerequisites:
- Git: Must be installed to clone the repository.
- Docker: Must be installed and running on your system. (Install Docker)
Steps:
-
Clone the Repository: Open your terminal or command prompt and clone the repository:
git clone https://github.com/adot-7/BAS.git cd BAS
-
Build the Docker Image: Navigate into the cloned
BAS
directory (if you aren't already there) where theDockerfile
is located and run:docker build -t bas-stowage-app .
(You can replace
bas-stowage-app
with any image name you prefer) -
Run the Docker Container: Start the container using the following command:
docker run -d -p 8000:8000 -it bas-stowage-app
-p 8000:8000
: Maps port 8000 on your host machine to port 8000 inside the container.-it
: Runs the container interactively, allowing you to see logs and stop it withCTRL+C
.
-
Access the Application: Once the container shows that the application is running (e.g., Flask server started), open your web browser and navigate to:
http://localhost:8000
You should see the application's front-end or be able to interact with the API endpoints at this address.
To Stop the Application:
- Press
CTRL+C
in the terminal where thedocker run
command is active.