Administration (Tanaguru 2.x)

Fetching Tanaguru tarballs

Download the latest Tanaguru Application and the Tanaguru Rules tarball (tar.gz AND war) packages for your architecture from the tanaguru's repository and the tanaguru-rules' repository.

Unpack the packages

Once you've downloaded or build the packages, unpack them by entering the following the command line :
tar xzf tanaguru-<version>.<architecture>.tar.gz

Several scripts are available to manage user and contracts.

User management

Edit the script to replace the database connection information ($DbUser, $DbUserPasswd and $DbName)

cd tanaguru-<version>.<architecture>/install-web-app/sql-management
vi ./tg-create-user.sh

Execute the script with the wished user data.

sh ./tg-create-user.sh -e <Email> -p <password> -l <LastName> -f <FirstName>

Contract Management

Edit the create-contract-procedure.sql script to replace the database information ($myDataseUser, $myDatabaseName)

cd tanaguru-<version>.<architecture>/install-web-app/sql-management
vi ./create-contract-procedure.sql

Execute this script once :

mysql -u $myDataseUser -p <create-contract-procedure.sql

Edit the script to replace the database connection information ($DbUser, $DbUserPasswd and $DbName)

cd tanaguru-<version>.<architecture>/install-web-app/sql-management
vi ./tg-create-contract.sh

Execute the script with the wished contract data.

sh ./tg-create-contract.sh -l <SiteLabel> -w <FQDN-url> -u <UserId> -f "[...]" -r "[...]"

The "f" option represents the functionalities and can take several values from :

  • f1 -> Up to 10 pages Audit
  • f2 -> Site Audit
  • f3 -> File upload Audit
  • f4 -> Scenario Audit

The "r" option represents the referential and can take several values from :

  • r1 -> Accessiweb 2.1
  • r2 -> Seo "