Skip to content

tjsct/sct-website-python

Repository files navigation

SCT Website

The official website for Senior Computer Team (SCT) at Thomas Jefferson High School for Science and Technology (TJHSST).

Setup

This project uses Flask as a Python backend. Gunicorn and gevent are installed with Director 4's native Docker packages (see packages.txt), and the rest of the packages can be installed with

pip install -r requirements.txt

For JavaScript and CSS/SCSS styling, npm is used. Install node packages by going to /static and running

npm install package.json

File Structure

  • files/config.json: Configuration file which defines variables given to each template. Parameters:
  • templates/helper: Defines a global header, footer, and base template.