Edit me on GitHub

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

Table Of Contents

Previous topic

Demo application of pyramid_sacrud

Next topic

Demo