Skip to content

Latest commit

 

History

33 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flask-hypergen

nox

Flask integration for Hypergen, with a repo-root examples/ app for local development.

Run the examples

  1. Sync the dev environment:

    uv sync

  2. Start the example app:

    flask --app examples/app.py run --debug

  3. Open http://127.0.0.1:5000/

Dev

Copier Template

Project structure and tooling mostly derives from Coppy. See its documentation for context and additional instructions.

This project can be updated from the upstream repo, see Updating a Project.

Project Setup

From zero to hero (passing tests that is):

  1. Ensure host dependencies are installed

  2. Start docker service dependencies (if applicable):

    docker compose up -d

  3. Sync project virtualenv w/ lock file:

    uv sync

  4. Configure prek:

    prek install

  5. Run tests:

    nox

JavaScript Runtime

The readable Hypergen browser source lives in src/flask_hypergen/static-src/. The minified files in src/flask_hypergen/static/ are generated package assets; do not edit them directly.

Install the pinned Node and Aube toolchain through mise, then build or watch the runtime:

mise install
mise run js-build
mise run js-watch

Aube is the project's only JavaScript package installer and script runner. The generated bundle and source map remain committed so Python package users do not need JavaScript tooling. Watch mode produces development output directly in the static directory; run mise run js-build before committing or packaging to apply the production finalization. The JavaScript tasks are executable scripts in tasks/, so tasks/js-build, tasks/js-watch, tasks/js-verify, and tasks/js-check can also be called without Mise when the pinned Node and Aube tools are already on PATH. Prek automatically rebuilds and checks these assets when related files are committed.

Versions

Versions are date based. A version task shows and bumps versions:

  # Show current version
  mise version show

  # Bump version based on date, tag, and push:
  mise version bump

  # See other options
  mise version -- --help

Coverage Notes

See docs/coverage-notes.md.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages