Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup Server & Website Fixes #47

Merged
merged 40 commits into from
Oct 15, 2024
Merged

Setup Server & Website Fixes #47

merged 40 commits into from
Oct 15, 2024

Conversation

kalebphipps
Copy link
Member

Description

This PR includes the functionality for setting up the server and deploying the website. In addition, a few bugs on the website have been fixed. In more detail:

  • A favicon has been generated and included in the base.html, fixing Issue Create favicon #44.
  • The Navbar has been fixed. The contacts button has been moved to the footer, the text is now aligned with the logo and line breaks are not allowed, and the nav bar minimizes at 1300pxs to fix an issue which led to text being hidden. This solves Issue Fix Navbar on Website #43 .
  • The apache startup script and LSDF mount has been included in the install.sh, and a separate script has been created to generate the certificate. This solves Issue Integrate Apache Startup Script #41 .

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Copy link

Name Stmts Miss Cover Missing
paint/__init__.py 4 0 100%
paint/data/__init__.py 15 0 100%
paint/data/binary_extractor.py 62 2 97% 78-85
paint/data/calibration_stac.py 10 0 100%
paint/data/catalog_stac.py 4 0 100%
paint/data/deflectometry_stac.py 10 0 100%
paint/data/dwd_mappings.py 2 0 100%
paint/data/dwd_stac_item.py 5 0 100%
paint/data/dwd_weather.py 44 1 98% 100
paint/data/heliostat_catalog_stac.py 19 2 89% 40, 48
paint/data/juelich_weather_converter.py 51 3 94% 59, 111-114
paint/data/juelich_weather_mappings.py 20 0 100%
paint/data/juelich_weather_stac_item.py 6 0 100%
paint/data/properties_stac.py 11 0 100%
paint/data/target_cropper.py 55 1 98% 206
paint/data/tower_measurements.py 47 0 100%
paint/data/tower_stac.py 5 0 100%
paint/data/weather_collection_stac.py 5 0 100%
paint/util/__init__.py 5 0 100%
paint/util/gauss_kruger_converter.py 7 0 100%
paint/util/paint_mappings.py 236 0 100%
paint/util/preprocessing.py 31 0 100%
paint/util/renovation_mappings.py 2 2 0% 1-3
paint/util/utils.py 32 2 94% 108-109
TOTAL 688 13 98%

Copy link

codecov bot commented Oct 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.11%. Comparing base (5c7679a) to head (fda7cd9).
Report is 41 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #47   +/-   ##
=======================================
  Coverage   98.11%   98.11%           
=======================================
  Files          24       24           
  Lines         688      688           
=======================================
  Hits          675      675           
  Misses         13       13           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@mcw92 mcw92 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. I only have a basic idea about the bash scripts but I find them transparent and comprehensible.

@kalebphipps kalebphipps merged commit b85e0ff into main Oct 15, 2024
6 checks passed
@kalebphipps kalebphipps deleted the maintenance/server_setup branch October 15, 2024 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants