Menu

Home

chk

This shows the commands needed to setup and run multi trac environments in a specific way:

  • adds / configures plugin AccuntManager
  • adds basic-auth via .htaccess - file
  • creates/adds the user/password given as TRAC_ADMIN
  • configures usage of SVN

Creating a Trac Environment

  • copy the file: "create_sample_environment" , as template for your project:
    cp create_sample_environment ./create_myproject_environment

- edit its configuration set these variables as you need:

 $adminuser = "user"; ->
 $adminpass = "password";
 $env_name = "watambaX";
 $env_base = "/opt/womd_trac";
 $repo_path = "/opt/womd_svn/FB20XX";
 $repo_typ = "svn";
  • run it ! it will echo the commands needed to setup the trac-environment
php create_myproject_environment 

Starting Trac Environments ####

in file: show_tracd_start_script
-edit configuration, set the directory where your trac environments life

$env_base = "/var/trac";

run it, it will echo the command for starting all the environments.
php how_tracd_start_script

Project Members: