Skip to content
Snippets Groups Projects
  • Jan Mach's avatar
    0a724ce9
    Feature: Prototype implementation of next generation web user interface for Mentat system. · 0a724ce9
    Jan Mach authored
    This commit represents huge amount of work and introduces new Python-based version of Hawat web user interface for Mentat system. It is built on top of the great Flask framework. Currently it is still work in progress and many features are implemented only as dummy stubs, however the core functionality is almost finished. Following is a list of current key features:
    
      * Focus on modular architecture using Flask`s blueprint feature.
      * Multi-layered configurability (defaults, multiple file overrides).
      * Plugin system.
      * Internationalization support.
      * Support for multiple authentication systems.
    
    This commit provides working albeit hollow starting point for future web interface development. IT IS NOT READY FOR PRODUCTION USAGE!!!
    
    (Redmine issue: #3734,#3361)
    0a724ce9
    History
    Feature: Prototype implementation of next generation web user interface for Mentat system.
    Jan Mach authored
    This commit represents huge amount of work and introduces new Python-based version of Hawat web user interface for Mentat system. It is built on top of the great Flask framework. Currently it is still work in progress and many features are implemented only as dummy stubs, however the core functionality is almost finished. Following is a list of current key features:
    
      * Focus on modular architecture using Flask`s blueprint feature.
      * Multi-layered configurability (defaults, multiple file overrides).
      * Plugin system.
      * Internationalization support.
      * Support for multiple authentication systems.
    
    This commit provides working albeit hollow starting point for future web interface development. IT IS NOT READY FOR PRODUCTION USAGE!!!
    
    (Redmine issue: #3734,#3361)
bin_mentat-hawat.rst 507 B

mentat-hawat.py

Web interface for Mentat system - local development server

This command will launch built-in development HTTP server and bind it to localhost, port 5000. It will also force the debug mode to True.

Usage

Just execute with Python3 interpreter:

python3 mentat-hawat.py

Now point your browser to localhost, port 5000:

http://localhost:5000