Skip to content

havenousername/hackatum-2024

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Optifleet

Project renders

MacBook #13 (1) MacBook #01 (2) Business Card (1)

How to run

Start the Containers

First of all, you need to start both of the backend containers:

T-Systems Container

Run docker-compose up -d in the repositories root directory.

Openroutesystem Container

Run ./setup.sh in the openroutesystem/ directory. This will download the Oberbayern map dataset.

If you are using a non-unix OS, you might have to follow the steps in the setup.sh on your own, i.e. make directories, copy the config and download the dataset at the provided link.

If you are using Windows, try to use the Windows-Subsystem for Linux to run the setup script!

Then run docker-compose up -d in the openroutesystem/ directory and wait a few minutes, until the routing graph has fully compiled (it is compiling as long as there is a file called openroutesystem/ors-docker/graph/car/gh.lock).

Start the Backend

Now, you need to setup your python environment. Required packages are listed in the backend/requirements.txt file, you can use e.g. a virtual environment. Then run python websocket.py & in the backend/ directory. (We might have made it easier, but we prioritized differently due to time constraints...)

Start the Frontend

Go to the main directory which is ~/frontend

Install the node_modules using npm install

npm version >= 18

Run the frontend using npm run dev

About

This is hackatum 2024 repository

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •