No description https://tonyebel.com
Find a file
Tony Ebel a45d6fcec0
All checks were successful
Main / Lint, Format, and Test (push) Successful in 32s
Main / Docker Build (push) Successful in 25s
Main / Deploy (push) Has been skipped
have quiz pass if correct_option is returned
2026-05-26 15:51:28 -05:00
.forgejo/workflows configure flask host/protocol so it uses appropriate values for local vs prod. force prod values if ENVIRONMENT != local, which keeps generate_static.py to use prod vars. 2026-04-21 15:01:53 -05:00
api adjust all options to questions to be uppercase. Added validation on api endpoints, db constraint. update js to reflect. api endpoint still can take a lowercase option and will convert it. 2026-05-23 12:39:01 -05:00
static adjust all options to questions to be uppercase. Added validation on api endpoints, db constraint. update js to reflect. api endpoint still can take a lowercase option and will convert it. 2026-05-23 12:39:01 -05:00
templates add shuffle options note in our how-this-works popover 2026-05-22 11:13:27 -05:00
tests have quiz pass if correct_option is returned 2026-05-26 15:51:28 -05:00
.dockerignore add more ignores 2026-02-20 14:47:57 -06:00
.gitattributes normalize newlines to LF 2026-02-17 14:12:57 -06:00
.gitignore add-quiz-questions.py created. added first math quiz questions to db. 2026-04-28 09:50:34 -05:00
.nvim.lua a working todo application. also nvim override for repo 2026-01-20 11:53:06 -06:00
.pre-commit-config.yaml configure flask host/protocol so it uses appropriate values for local vs prod. force prod values if ENVIRONMENT != local, which keeps generate_static.py to use prod vars. 2026-04-21 15:01:53 -05:00
add-or-update-post.py adjust posts/projects for created_date/updated_date in database. update feed template to match. add js function to convert to local time on client. 2026-03-03 11:23:12 -06:00
add-quiz-questions.py add-quiz-questions.py created. added first math quiz questions to db. 2026-04-28 09:50:34 -05:00
app.py configure flask host/protocol so it uses appropriate values for local vs prod. force prod values if ENVIRONMENT != local, which keeps generate_static.py to use prod vars. 2026-04-21 15:01:53 -05:00
docker-compose.yml so many changes! mainly added redis to cash our api calls, schedule, and some responses 2026-04-01 10:27:43 -05:00
Dockerfile configure flask host/protocol so it uses appropriate values for local vs prod. force prod values if ENVIRONMENT != local, which keeps generate_static.py to use prod vars. 2026-04-21 15:01:53 -05:00
extensions.py so many changes! mainly added redis to cash our api calls, schedule, and some responses 2026-04-01 10:27:43 -05:00
generate_static.py add markdown tests. move routes to their own routes.py file and use blueprint like we do for api endpoints. update url_for for routes. update sqlalchemy queries to use new 2.0 syntax and clear deprecation warnings. 2026-03-19 20:41:48 -05:00
gunicorn_config.py add health route and docker healthcheck baked into image 2026-03-20 09:42:52 -05:00
models.py adjust all options to questions to be uppercase. Added validation on api endpoints, db constraint. update js to reflect. api endpoint still can take a lowercase option and will convert it. 2026-05-23 12:39:01 -05:00
pyproject.toml add tzdata package in pyproject.toml instead of installing with apt 2026-04-02 10:53:33 -05:00
README.md swap around uv README section 2026-01-27 11:21:57 -06:00
routes.py break up api into subdir and separate files. trailing slash on api health endpoint. 2026-04-21 10:19:17 -05:00
site.db adjust all options to questions to be uppercase. Added validation on api endpoints, db constraint. update js to reflect. api endpoint still can take a lowercase option and will convert it. 2026-05-23 12:39:01 -05:00
socket_events.py split out all socketio stuff into socket_events.py and update chatroom tests. 2026-03-19 21:31:14 -05:00
template_helpers.py move getTopBatters from flask template to api endpoint fetch and create elements with js 2026-04-06 15:38:27 -05:00
uv.lock add tzdata package in pyproject.toml instead of installing with apt 2026-04-02 10:53:33 -05:00

Tony's Portfolio Site

This repo hosts my Flask portfolio site.

The site is mainly for:

  • about me page
  • posts
  • projects

UV

Python package managedment is managed by uv. If a package needs to be added or updated, adjust the pyproject.toml and then run uv lock to update the lockfile.

Failing to do this will result in CI tests failing.

CI/CD

Runs an actions workflow on my Forgejo server for:

  • python lint/format
  • javascript lint
  • javascript/css format
  • uv lock checks
  • build docker image test
  • deploy if tag was created

Pre-commit

Hooks are also setup to mimic the tests in the actions workflow. These can be setup by running pre-commit install.