Revert "Port Python app to Node.js"

This commit is contained in:
𝓜𝓪𝓬𝓮™
2025-06-11 14:23:11 +02:00
committed by GitHub
parent 0b5a1ce743
commit ab17056dd2
8 changed files with 14 additions and 2742 deletions

View File

@ -22,14 +22,21 @@ A modern web application for calculating the maximum allowed storage usage in a
cd ceph-calculator
```
2. Install Node.js dependencies:
2. Set up Python environment:
```
npm install
python -m venv venv
venv\Scripts\activate # Windows
source venv/bin/activate # Linux/Mac
```
3. Start application:
3. Install dependencies:
```
npm start
pip install -r requirements.txt
```
4. Start application:
```
python run.py
```
5. Open in a browser: `http://localhost:5000`
@ -47,13 +54,13 @@ A modern web application for calculating the maximum allowed storage usage in a
## Technology
- Backend: Node.js with Express
- Frontend:
- Backend: Flask
- Frontend:
- Alpine.js for reactive user interface
- Tailwind CSS for modern design
- HTMX for interactive elements
- Dark/Light Mode with Tailwind CSS
- PDF generation with pdfkit
- PDF generation with ReportLab
- Responsive design for all devices
## Detailed Features