Tech blog programmed in Python3 + Flask.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Christoph 2e7e93f41d Merge branch 'feature-nojs' 5 years ago
blog Added new menu to the search template 5 years ago
db_repository 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 5 years ago
maintenance Added maintenance page according to Issue #7 6 years ago
.gitignore Improved the fix for the issue #13. This commit should also fix the issue #14. Further testing is required 5 years ago
DATABASE.md 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 5 years ago
INSTALL.md Improved the fix for the issue #13. This commit should also fix the issue #14. Further testing is required 5 years ago
README.md Some comments for further development 5 years ago
db_create.py Forgot to add the new init script to the git repro first. New migration directory which is excluded by .gitignoe 5 years ago
db_downgrade.py 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. 5 years ago
db_init.py 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 5 years ago
db_migrate.py 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. 5 years ago
db_upgrade.py 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. 5 years ago
maintenance.wsgi Added maintenance page according to Issue #7 6 years ago
manage.py 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 5 years ago
requirements.txt Fixed wrong dependency 5 years ago
run.py Switched ip address for development purpose 5 years ago
secblog.wsgi Switched name for productive mode 6 years ago
settings.py Fixed problem with wrong file path for images. Pictures are now stored within the correct location 5 years ago
test_captcha.py Python script to test the captcha functionality 5 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