Skip to content

Cromlech/CromlechDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cromlech Demo

Support python3.4+ only

Deployment

$> pyvenv . && source bin/activate
$> pip install -U pip setuptools
$> pip install -r requirements.txt
$> pip install -e .

To serve with waitress:

$> pip install waitress
$> waitress-serve --listen=*:8080 app:application

To serve with uwsgi:

$> pip install uwsgi
$> uwsgi --http :8080 --wsgi-file app.py

To serve with gunicorn:

$> pip install gunicorn
$> gunicorn -b 0.0.0.0:8080 app:application

Using one of the servers as described above, You can now access http://127.0.0.1:8080 on your browser.

There are 2 users created for the demo purposes:

  • username: admin, password: admin, right: manage, view
  • username: demo, password: demo, right: view

Demonstrated features

  • Encrypted and signed JWT Sessions;
  • Browser components: Layout, Views, Forms and sub components;
  • Publishing using object traversing;
  • Authentication and pluggable security;
  • Internationalization using the Gnu Gettext;
  • Event dispatching;

Documentation

The technical documentation is within the code itself. Each part is heavily commented to allow a quick grasp of the purpose of each piece of software.

You are strongly encouraged to modify and experiment with that demo.

Test coverage

Every package is thoroughly tested. You can follow the status of each of them on Travis : https://travis-ci.org/Cromlech

About

Cromlech/Crom application example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages