Skip to content
Heiko Robert edited this page Mar 29, 2016 · 1 revision

Introduction and rational

This project contains a collection of shell scripts, that makes interaction with Alfresco a snap. Common administrative tasks and simple integrations will become a one liner. Installation

The scripts require a bash shell and familiar tools like curl. If you are on Linux (and of course you should) or Mac (acceptable) everything will be fine.

  • Go to /usr/local/share
  • Download the latest release: git clone https://github.com/ecm4u/alfresco-shell-tools.git
  • Configure your environment:
    • Add the Alftools scripts to your shells search PATH: export PATH="$PATH:/usr/local/share/alfresco-shell-tools/bin". To make this permanent add this line to your HOME/.profilerc file
    •    Set the target server: `export ALFTOOLS_ENDPOINT=http://localhost:8080/alfresco`
      
    •     Set the target server for share: `export ALFTOOLS_SHARE_ENDPOINT=http://localhost:8080/share`
      
    •     Set the user: `export ALFTOOLS_USER=admin`
      
    •     Set the password: `export ALFTOOLS_PASSWORD=admin`
      
  • install required 3rd party tools for json parsing, see the InstallationGuide page for details * jansson: library for parsing json * jshon: command line tool to manipulate json - links to the jansson lib
Clone this wiki locally