- Python with Flask for the backend
- HTML files with Tailwind Components
- Postgres Database
For the Docker install, docker compose needs to be installed and uv for the python backend
Create in the root of the project a .env file with the following content:
PG_USERNAME=
PG_PASSWORD=
PG_DATABASE=
PG_HOST=
FLASK_SECRET_KEY=For an automatic install of the dependencies and an automatic build and start of the projct you could run: (this works only on debian based distro's):
First make the file executable
chmod +x setup.shrun the file
./setup.shNow the main application run on port 5000 and the Database on Port 5432
docker build -t fahrgemeinschaften .and then run
docker compose up -dInstall tailwind standalone:
npm install tailwindcss @tailwindcss/clicompile the css and the changes:
npx @tailwindcss/cli -i ./static/styles/main.css -o ./static/styles/output.css --watchcreate a Folder called db_test and create a docker-compose.ymland insert the following content:
services:
postgres:
container_name: container-pg
image: postgres:latest
hostname: postgres
ports:
- "5432:5432"
environment:
POSTGRES_USER: ${PG_USERNAME}
POSTGRES_PASSWORD: ${PG_PASSWORD}
POSTGRES_DB: ${PG_DATABASE}
volumes:
- ./data:/var/lib/postgresql
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${PG_USERNAME}"]
interval: 10s
timeout: 5s
retries: 5
start_period: 10s
restart: unless-stopped
then add a .env file with the following content:
# those are example values please don't use them in production
PG_USERNAME=postgres
PG_PASSWORD=postgres
PG_DATABASE=postgres
PG_HOST=localhostthen run:
docker compose upInstall uv
curl -LsSf https://astral.sh/uv/install.sh | shthen start the flask server (this action will fail if the database is not poperly configured or running):
uv run main.py- automaticly assign users to drives based on their locactions, prefer the users with least detour
- generate Image for the route
- scedule drives (Monday, Thursday, Saturday) repeate for a period of time
- App mit cordova
- Open Street Map integration
- Untis Integration für automatisch Stunden
- Logo made by MagierderSteine








