Substance D is an application server built using the Pyramid web framework. It can be used as a base to build a general-purpose web application like a blog, a shopping cart application, a scheduling application, or any other web app that requires both an administration and a retail interface.
Substance D owes much of its spirit to the Zope application server.
It requires Python 2.6, 2.7, 3.2, 3.3, or 3.4.
Install using setuptools, e.g. (within a virtualenv):
$ easy_install substanced
During Substance D's pre-alpha period, it may be necessary to use a checkout of Substance D as well as checkouts of the most recent versions of the libraries upon which Substance D depends.
Use of the substanced.file.USE_MAGIC constant for guessing file types from stream content requires the python-magic library, which works without extra help on Linux systems, but requires special dependency installations on Mac OS and Windows systems. You'll need to follow these steps on those platforms to use this feature:
Mac OS X
"Installation on Win32" in https://github.com/ahupp/python-magic
See the application running at http://demo.substanced.net for a demonstration of the Substance D management interface.
To deploy the demo locally, run pcreate -s substanced myproj after installing Substance D. That creates a myproj directory and installs the substanced scaffold in it. To run it, change into mpyproj and execute pserve development.ini. The development server listens to requests sent to http://0.0.0.0:6543 by default. The initial password for the admin user is generated randomly. Use something like grep initial_password *.ini in myproj directory to see the password. Output should looks like:
$ grep initial_password *.ini development.ini:substanced.initial_password = 4vGhUPuDCr production.ini:substanced.initial_password = 4vGhUPuDCr
- The Substance D Management Interface
- Defining Content
- Management Views
- Dumping Content to Disk
- Changing Resource Structure With Evolution
- Configuring Folder Contents
- Using Auditing
- Using Locking
- Gathering Runtime Statistics
- Virtual Rooting
- Building a Retail Application
- Substance D Command-Line Utilities
- substanced API
- substanced.audit API
- substanced.catalog API
- substanced.catalog.indexes API
- hypatia.query API
- hypatia.util API
- substanced.content API
- substanced.db API
- substanced.dump API
- substanced.editable API
- substanced.event API
- substanced.evolution API
- substanced.file API
- substanced.folder API
- substanced.folder.views API
- substanced.form API
- substanced.locking API
- substanced.objectmap API
- substanced.principal API
- substanced.property API
- substanced.schema API
- substanced.sdi API
- substanced.root API
- substanced.stats API
- substanced.util API
- substanced.workflow API
- Substance D SDI Permission Names
Support / Reporting Bugs / Development Versions¶
Visit http://github.com/Pylons/substanced to download development or tagged versions.
Visit http://github.com/Pylons/substanced/issues to report bugs.
The mailing list exists at https://groups.google.com/group/substanced-users
The IRC channel is at irc://freenode.net/#substanced