Skip to content

Production asset loading #133

Description

@davecoates

Review asset loading so that frontend dir can be excluded from deployed images.

Default setting in template reads from

"PRODUCTION_DIR": PROJECT_DIR / "frontend/build",

should be

"PRODUCTION_DIR": STATIC_ROOT / FRONTEND_PRODUCTION_STATIC_PREFIX,

so can work without frontend/build

Review other assets loaded via python that may require frontend dir be included in deployed image.

  • permissionManifest.json
  • manifest.json

This may cross alliance-platform-js (vite plugins), alliance-platform-py and template project settings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions