Tech blog programmed in Python3 + Flask.

Christoph 2e7e93f41d Merge branch 'feature-nojs' 2 years ago
blog 4d9fac086d Added new menu to the search template 2 years ago
db_repository d54b79bea6 Changed to method to migrate database schema changes. The md file contains instructions how to perform a new migration. Also added new migration script for the new column codetag_pos, which is required to fix the issue #13 3 years ago
maintenance 7aecbc73db Added maintenance page according to Issue #7 3 years ago
.gitignore 673c608024 Improved the fix for the issue #13. This commit should also fix the issue #14. Further testing is required 3 years ago
DATABASE.md d54b79bea6 Changed to method to migrate database schema changes. The md file contains instructions how to perform a new migration. Also added new migration script for the new column codetag_pos, which is required to fix the issue #13 3 years ago
INSTALL.md 673c608024 Improved the fix for the issue #13. This commit should also fix the issue #14. Further testing is required 3 years ago
README.md 1a4d3df996 Some comments for further development 3 years ago
db_create.py e3af5f9cb6 Forgot to add the new init script to the git repro first. New migration directory which is excluded by .gitignoe 3 years ago
db_downgrade.py 2425b910f0 Fixed Issue #13. Now it's validated if a table with the class code highlighting is withing the first 1000 characters. If this is true the text will be truncated until the specific table appears. Also added new scripts to upgrade the database schema. Which was required to save the location of the beginning of the highlighted table. 3 years ago
db_init.py 04ea235239 Fixed the errors if a new database is created. The new db_init script inserts the parts which are always the same for this website. This script is called if the pageinfo is None or the admin area is accessed to check if everyting is initialised correctly 3 years ago
db_migrate.py 2425b910f0 Fixed Issue #13. Now it's validated if a table with the class code highlighting is withing the first 1000 characters. If this is true the text will be truncated until the specific table appears. Also added new scripts to upgrade the database schema. Which was required to save the location of the beginning of the highlighted table. 3 years ago
db_upgrade.py 2425b910f0 Fixed Issue #13. Now it's validated if a table with the class code highlighting is withing the first 1000 characters. If this is true the text will be truncated until the specific table appears. Also added new scripts to upgrade the database schema. Which was required to save the location of the beginning of the highlighted table. 3 years ago
maintenance.wsgi 7aecbc73db Added maintenance page according to Issue #7 3 years ago
manage.py d54b79bea6 Changed to method to migrate database schema changes. The md file contains instructions how to perform a new migration. Also added new migration script for the new column codetag_pos, which is required to fix the issue #13 3 years ago
requirements.txt 5e8f5b0912 Fixed wrong dependency 3 years ago
run.py b54a15cc94 Switched ip address for development purpose 2 years ago
secblog.wsgi 31c3771ea9 Switched name for productive mode 4 years ago
settings.py c06793dc69 Fixed problem with wrong file path for images. Pictures are now stored within the correct location 3 years ago
test_captcha.py 9d472061b7 Python script to test the captcha functionality 3 years ago

README.md

About

Small blog developed with python and the framework flask

TODO's

  • add log functionality
  • add preview for blog entries, to show the translation from markdown to html
  • split the part for the code highlighting and encode the other parts

Requirements:

  • Python 3.4
  • Python Modules

    • bcrypt
    • Flask
    • Flask-HTPasswd
    • Flask-Mail
    • Flask-Migrate
    • Flask-Script
    • Flask-SQLAlchemy
    • Flask-WTF
    • Jinja2
    • Markdown
    • MarkupSafe
    • SQLAlchemy
    • Werkzeug
    • WTForms
    • Pygments
    • sqlalchemy-migrate
    • bleach
  • Required linux packages

    • libffi-dev