Skip to content

Devonkedev/SolarisWeb

Repository files navigation

Solaris Web Platform

Getting started

python -m venv .venv
.venv\Scripts\activate  # PowerShell
pip install -r requirements.txt
flask db upgrade  # or flask db init && flask db migrate && flask db upgrade on first run
flask run

The default configuration stores data in solaris.db (SQLite) and uploads in static/uploads. You can override these via environment variables:

set FLASK_APP=app.py
set SOLARIS_SECRET_KEY=super-secret
set DATABASE_URL=sqlite:///custom.db

Features

  • Home landing page with quick estimator, Leaflet-based solar map, and translation-ready layout.
  • Authentication (register/login/logout) backed by Flask-Login.
  • Dashboard summarising reminders, projects, and quick access to estimators.
  • Subsidy estimator for solar installation planning.
  • Reminders CRUD with due date/time, categories, and Flash notifications.
  • Solar project logging with file uploads for site photos.
  • Profile page with editable details, health metrics, and notes.
  • Solar health view powered by Leaflet + SunCalc to visualise sun position and shadows.

Tech stack

  • Flask 3.x / Jinja templates
  • SQLAlchemy + Flask-Migrate (SQLite by default)
  • Flask-WTF & CSRF protection
  • Tailwind via CDN, Leaflet, SunCalc for solar computations
  • Structured blueprints for navigation (auth, dashboard, projects, reminders, profile, subsidy)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •