Blog admin access help

Your blog admin is protected by ADMIN_KEY.

1) Generate a strong key locally

python -c "import secrets; print(secrets.token_urlsafe(32))"

2) Place it in your environment file

Add this line in .env.dev for local use:

ADMIN_KEY=PASTE_THE_GENERATED_KEY_HERE

3) Restart Flask

python app.py

4) Open admin with the key in URL

http://www.oui.systems/admin/blog?key=%3CADMIN_KEY%3E

5) Publish post

  1. Click New post.
  2. Fill title/body and set published checked.
  3. Save.
  4. Verify at /blog and /blog/<slug>.