Flastik is a tiny-framework for static website design inspired by Flask micro-framework. It provides tools for designing simple static website project using Flask-like syntax and project architecture as well as leveraging Jinja2 templating system and Bootstrap "beautyfying" capability. Additionally, Flastik aims to ease the porting to Flask if extra functionality becomes needed further down your website life cycle.
In addition, classes and functions have been designed in order to ease the management and templating of images, downloads and other static files (see StaticFile, Image and Download classes as well as collect_static_files function).
In order to install Flastik:
- Change directory to the Flastik code base
- Run
pip install .to install the package (orsudo pip install .if root permission is required) - Finally run
pip install ".[test]"followed bypytestto test the sanity of the package installation
Once Flastik installed, run flastik --create_doc from a command
line in order to have access to more detailed documentation.
Similarly, to start up a new flastik project, run flastik --create_project ${PROJECT_NAME} from a command line.
Flastik is distributed under the GNU GPLv3 License (see LICENSE) and Bootstrap under the MIT License (see Bootstrap License).