wiki:InstallingAcr
Warning: Can't synchronize with repository "(default)" (/var/repositories/acr does not appear to contain a Mercurial repository.). Look in the Trac log for more information.

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 develop

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.

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
  • public_dir: Path where to upload files from rdisk, like: %(here)s/acr/public