Installing libACR
libACR is the core cmf used by the ACR cms application, it exposes the available views and the controllers to manage content and pages.
libacr can be quickly installed by performing
python setup.py install
Now you will be ready to use ACR to create your own cms or web application with a cms part.
For an example take a look at acr_cms
Installing ACRcms
ACRcms is a CMS developend on libACR, ACRcms requires a working tg2 environment with libACR installed.
To be ready to use ACRcms just enter acr_cms directory and perform
python setup.py develop paster setup-app development.ini paster serve development.ini --reload
You will get a standard ACR site with the default template, you can now log in by going to /login and entering manager:managepass as credentials.
By logging as manager ACR will switch in edit mode and you will be able to edit pages and slices.
Turbogears 2.1
In order for the admin section to work you must remember to add
base_config.renderers.append('json')
inside your app_cfg.py file
Configuring ACR/libACR
libacr supports three configuration variables:
- acr_root: The root url served by ACR, this is needed for libACR to work. On ACRcms this is configured as /acr
- rdisk_root: The root url of the ACR remote disk, this is where you will be able to upload files. On ACRcms this is configured as /rdisk
- gmap_api_key: The Google Maps API Key, by default this is not configured and is required to be able to use google maps view
- public_dir: Path where to upload files from rdisk, like: %(here)s/acr/public
