Migrated to Rig in BLT 2026-05-28
Find a file
2026-05-29 09:37:42 -05:00
instance Initial: pftp from Rig post-BLT 2026-05-28 2026-05-29 09:37:42 -05:00
static Initial: pftp from Rig post-BLT 2026-05-28 2026-05-29 09:37:42 -05:00
templates Initial: pftp from Rig post-BLT 2026-05-28 2026-05-29 09:37:42 -05:00
templates.backup Initial: pftp from Rig post-BLT 2026-05-28 2026-05-29 09:37:42 -05:00
.env.authentik Initial: pftp from Rig post-BLT 2026-05-28 2026-05-29 09:37:42 -05:00
.gitignore Initial: pftp from Rig post-BLT 2026-05-28 2026-05-29 09:37:42 -05:00
: none Initial: pftp from Rig post-BLT 2026-05-28 2026-05-29 09:37:42 -05:00
admin.py Initial: pftp from Rig post-BLT 2026-05-28 2026-05-29 09:37:42 -05:00
app.py Initial: pftp from Rig post-BLT 2026-05-28 2026-05-29 09:37:42 -05:00
app.py.backup Initial: pftp from Rig post-BLT 2026-05-28 2026-05-29 09:37:42 -05:00
authentik-docker-compose.yml Initial: pftp from Rig post-BLT 2026-05-28 2026-05-29 09:37:42 -05:00
aux | grep flask Initial: pftp from Rig post-BLT 2026-05-28 2026-05-29 09:37:42 -05:00
aux | grep gunicorn Initial: pftp from Rig post-BLT 2026-05-28 2026-05-29 09:37:42 -05:00
docker-compose.yml Initial: pftp from Rig post-BLT 2026-05-28 2026-05-29 09:37:42 -05:00
forms.py Initial: pftp from Rig post-BLT 2026-05-28 2026-05-29 09:37:42 -05:00
models.py Initial: pftp from Rig post-BLT 2026-05-28 2026-05-29 09:37:42 -05:00
nohup.out Initial: pftp from Rig post-BLT 2026-05-28 2026-05-29 09:37:42 -05:00
pftp_full_setup_package.zip Initial: pftp from Rig post-BLT 2026-05-28 2026-05-29 09:37:42 -05:00
pftp_login_admin_bundle.zip Initial: pftp from Rig post-BLT 2026-05-28 2026-05-29 09:37:42 -05:00
powerforthepeople_flask.zip Initial: pftp from Rig post-BLT 2026-05-28 2026-05-29 09:37:42 -05:00
README.md Initial: pftp from Rig post-BLT 2026-05-28 2026-05-29 09:37:42 -05:00
requirements.txt Initial: pftp from Rig post-BLT 2026-05-28 2026-05-29 09:37:42 -05:00
setup.sh Initial: pftp from Rig post-BLT 2026-05-28 2026-05-29 09:37:42 -05:00
udo journalctl -u pftp -n 50 --no-pager Initial: pftp from Rig post-BLT 2026-05-28 2026-05-29 09:37:42 -05:00

Power for the People Party Flask Template Setup

This package includes:

  • All Flask HTML templates using base_template.html
  • 🎨 Full visual theming with CSS
  • 📱 Social preview image (og:image) support
  • 🖼️ Placeholder images, favicon, and JS files
  • ⚙️ Setup script for first-time users

📁 Structure

templates/
    base_template.html
    index.html
    about.html
    ...
static/
    img/
        logo.svg
        pftp_social_preview.png
    js/
        app.js
    favicon.ico

🚀 Setup Instructions

  1. Activate your virtual environment:

    source venv/bin/activate
    
  2. Run the setup script:

    bash setup.sh
    
  3. Start your Flask app:

    python political_party_app.py
    
  4. Visit http://localhost:5000/ to verify.


🔒 Notes

  • base_template.html includes Open Graph and Twitter Card metadata.
  • Update the favicon/logo in /static/img/ as needed.
  • Customize page content inside the {% block content %} in each template.

Power to the people