Skip to content
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.

Latest commit

 

History

History
20 lines (18 loc) · 1.5 KB

README.md

File metadata and controls

20 lines (18 loc) · 1.5 KB

event-pages

Automating Individual Event Pages.

Current Progress

  • General site content/structure is pretty much finished
  • Tree images are obtained from the Google Drive folder (by tree name)
  • Loading/using event data from database is mostly done. Just need to test/tune.
    • dataToPickle.py is the server script that fetches data from the database, processes it, and dumps it into a pickle file for application.py to send in the relevant data to populate the HTML template based on the school name appended to the URL.
  • TODO: Figure out typeform photos

Deployment and Testing

  • Github actions is configured to automatically deploy the Flask app on Elastic Beanstalk whenever a new change is pushed to the main branch. See workflow/deployment progress in Github "Actions" tab.
  • TODO: Add tests to run during workflow to prevent deployment if site has problems.
  • Current state of this repo automatically deployed here (temporarily terminated environment while site is being connected to test data)
  • Test with school examples from test data:
    • /cumberland%20valley has sponsor example
    • /andover
    • /carmel (missing event date and tree goals, but has tree species, one host, youtube video)
    • /oakland%20tech-east%20bay (missing event date and tree goals, but has tree species, multiple hosts, text message)
    • /deerfield or /norwood or /paramus (has event date, tree goals)