Edit me on GitHub

Demo application of pyramid_sacrud

A sample application for demonstrate admin interface with Pyramid framework. It use pyramid_sacrud.

SACRUD main page

Install

Require:

  • fortune

Install fortune:

sudo apt-get install fortune

Note

For Debian like pkg system.

Clone project to local machine:

git clone git@github.com:uralbash/pyramid_sacrud_example.git

SQLite support

Initialize project:

initialize_example_db development.ini

Run protject:

pserve development.ini http_port=8000

Folow to http://localhost:8000/admin/

PostgreSQL support

PostgreSQL gives you additional tables with his special types (ARRAY, HSTORE, JSON, UUID, etc)

Require:

  • PostgreSQL
  • psycopg2

Copy development_pg.ini to development_local.ini, edit postgres connection line and create db in PostgreSQL.

Initialize project:

initialize_example_db development_local.ini

Run protject:

pserve development_local.ini http_port=8000

Folow to http://localhost:8000/admin/

And see

_images/index.png

Demo

Online on runnable.com

Go to Runnable.com progect and press “▶ Run” button :)

_images/runnable_index.png

Next go to login

_images/runnable_login.png

Input login and password.

Note

Default login anf password is

login: admin
passd: 123
_images/runnable_login2.png

And see admin interface

_images/runnable_admin.png

Tree pages like django-mptt-pages

_images/runnable_mptt.png

Indices and tables

Table Of Contents