====== Configure ====== No configuration is needed to Run Radria but if needed you can tune up a few things. ===== Password Protect ===== If your Radria installation is available from the web we strongly suggest you password protect it. In the .haccess file provided you will see commented apache authentication commands. Uncomment them and customize them to your needs. AuthType Basic AuthName "Site Administration" AuthUserFile /opt/lampp/.htuser require valid-user You can then setup users and passwords with the htpassword command: htpassword -c /opt/lampp/.htuser username htpassword /opt/lampp/.htuser username2 ===== Package Repositories ===== The Radria download only comes with the base, everything else you need you add with packages. You can modify the package repositories from the SiteManager configuration file. SiteManager/config.php The default Radria Package repositories are: // Url of packages repositories, dont forget the trailing "/" at the end $cfg_packages_source[] = "http://radria.sqlfusion.com/pkg/radria/1/base/"; $cfg_packages_source[] = "http://radria.sqlfusion.com/pkg/radria/1/addon/"; $cfg_packages_source[] = "http://radria.sqlfusion.com/pkg/radria/1/dbtool/"; $cfg_packages_source[] = "http://radria.sqlfusion.com/pkg/radria/1/tool/"; $cfg_packages_source[] = "http://radria.sqlfusion.com/pkg/radria/1/devlib/"; $cfg_packages_source[] = "http://radria.sqlfusion.com/pkg/radria/1/design/"; $cfg_packages_source[] = "http://radria.sqlfusion.com/pkg/radria/1/webapp/"; $cfg_packages_source[] = "http://radria.sqlfusion.com/pkg/radria/1/bizapp/"; $cfg_packages_source[] = "http://radria.sqlfusion.com/pkg/radria/1/ecom/"; $cfg_packages_source[] = "http://radria.sqlfusion.com/pkg/radria/1/beta/"; $cfg_packages_source[] = "../pkg/"; You can add or remove repositories by changing the urls added to the **$cfg_packages_source** array. By default it points to the Radria project repositories. You can also [[core:package:repository:setting_up_package_repositories|setup your own package repositories]]. ===== Package cache ===== You have 2 types of package cache: - Package listing - Package file itself. ==== Cache package listing ==== By default this is not cached. This mean that each time you access the **package.php** page with the list of all the available package the full list of the package description will be downloaded. This could make the package.php list display slowly. To improve the speed the packages list can be cached and updated only once per session (each time you open your browser). To enable the package listing cache edit the **SiteManager/config.php** file and in: // Cache in the session the list of packages $cfg_cache_packages_list = false; Change the variable **$cfg_cache_packages_list** to **True** ==== Cache package file ==== By default the SiteManager will download the packages and reuse the same for multiple installations until a new version is available. This avoids the download of the same package each time you need to install it. If you need to change that default behavior edit the **SiteManager/config.php** and change // Cache Packages downloaded from packages repositories, unless your debuging packages // we suggest you leave it turned on to save download bandwidth. $cfg_packages_cache = true; The **$cfg_packages_cache** to false. ===== Database ===== If after running the install.php wizard you need to change the database access information you edit the SiteManager/config.php file Look for: $mydbconx = new sqlConnect("USERNAME", "PASSWORD"); $mydbconx->setHostname("HOSTNAME"); // $mydbconx = new sqlConnect(); // $mydbconx->setDatabase("passitemanager"); $mydbconx->setUseDatabase(false) ; $mydbconx->setBackupSync(false) ; $mydbconx->setBaseDirectory($cfg_local_pasdir); $mydbconx->setProjectDirectory("./"); $mydbconx->start(); Change the USERNAME, PASSWORD and HOSTNAME with your new database access information. Also make sure that **$mydbconx->start();** is uncomented. ===== Default Site ===== Each time you create a new project a default site structure with some base file are added to the project. You can customize those default file by changing them in: RadriaCore/sitetemplate/ ===== Enable WebIDE Project ===== By default the WebIDE project is hidden, to stop new users from breaking their setup. Experienced users will need to install New Field Type or upgrade the webIDE with newer packages. To enable the WebIDE in your project list open the SiteManager/config.php file and change the following: // Show or hide the WebIDE project $cfg_show_WebIDE = false; Variable **$cfg_show_WebIDE** to True. ===== Statistic ===== We record the Radria usages, with a small ping to a script on Radria server. This is totally anonymous, everything is md5 so we only record the hit. The stats are important for us, as seeing more users motivates us to put more work and time into improving Radria. Who would want to spend time on something that nobody uses. This can be disable if you need to in the config.php //Radria usage statistics: $cfg_radria_stat_usage = true; Change it to **false** and it will stop sending pings to the Radria project.