migriert von github.com/Kenearos/Rentenversicherer
Flask API was using PORT env variable which Railway also assigns to the frontend static server. Both services were competing for the same port, causing the container to fail health checks. Changed Flask to use FLASK_PORT (default 5000) so it runs independently from the Railway-assigned PORT used by the serve command. https://claude.ai/code/session_01YEMFAbGgf8K7as4Uqgjv3R |
||
|---|---|---|
| components | ||
| services | ||
| templates | ||
| tests | ||
| .gitignore | ||
| App.tsx | ||
| Dockerfile | ||
| fill_pdf.py | ||
| index.html | ||
| index.tsx | ||
| latex_service.py | ||
| metadata.json | ||
| package-lock.json | ||
| package.json | ||
| railway.toml | ||
| README.md | ||
| requirements.txt | ||
| server.py | ||
| tsconfig.json | ||
| types.ts | ||
| vite.config.ts | ||
| vitest.config.ts | ||
Run and deploy your AI Studio app
This contains everything you need to run your app locally.
View your app in AI Studio: https://ai.studio/apps/drive/1eOJcZ5qjOqVKG1eSXvA6HRcCwqcgcuGO
Run Locally
Prerequisites: Node.js
- Install dependencies:
npm install - Set the
GEMINI_API_KEYin .env.local to your Gemini API key - Run the app:
npm run dev