User talk:^Ben: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 21: Line 21:
Find the config_defaults_inc.php file and edit theese sections
Find the config_defaults_inc.php file and edit theese sections


:: # --- database variables ---------
  # --- database variables ---------
::
   
:: # set these values to match your setup
  # set these values to match your setup  
::
   
:: # hostname should be either a hostname or connection string to supply to adodb.
    # hostname should be either a hostname or connection string to supply to adodb.  
:: # For example, if you would like to connect to a mysql server on the local machine,
  # For example, if you would like to connect to a mysql server on the local machine,
:: # set hostname to 'localhost', and db_type to 'mysql'.
  # set hostname to 'localhost', and db_type to 'mysql'.
:: # If you need to supply a port to connect to, set hostname as 'localhost:3306'.
  # If you need to supply a port to connect to, set hostname as 'localhost:3306'.
:: $g_hostname = 'localhost';
  $g_hostname = 'localhost';
:: $g_db_username = 'username';
  $g_db_username = 'username';
:: $g_db_password = 'password';
  $g_db_password = 'password';
:: $g_database_name = 'databasename';
  $g_database_name = 'databasename';
:: $g_db_type = 'mysql';
  $g_db_type = 'mysql';


Make sure the settings presented here match your chosen database.
Make sure the settings presented here match your chosen database.
Line 49: Line 49:


==Test==
==Test==
  code box

Revision as of 08:09, 28 June 2005

Bug tracking software

As mentioned in the previous article, email is an insufficent way too manage bugs. That's why it's recommended to use specialised bug tracking software.

I will show you how to setup and use mantis bug tracker.

Step 1:

Download mantis from (site) and upload too your website.

Step 2:

Create a database ahead of time.

Step 3:

You need to populate the database, this is very easy if you have access to phpmyadmin, first select the mantis database, then either find the populate_sql.sql file in the /sql folder or just copy and paste all of what's contained in that file into the execute sql queries field.

Step 4:

Find the config_defaults_inc.php file and edit theese sections

 	# --- database variables ---------  
   
 	# set these values to match your setup    
   
   	# hostname should be either a hostname or connection string to supply to adodb.    
 	# For example, if you would like to connect to a mysql server on the local machine,  
 	# set hostname to 'localhost', and db_type to 'mysql'.  
 	# If you need to supply a port to connect to, set hostname as 'localhost:3306'.  
 	$g_hostname				= 'localhost';  
 	$g_db_username			= 'username';  
 	$g_db_password			= 'password';  
 	$g_database_name		= 'databasename';  
 	$g_db_type			= 'mysql';  

Make sure the settings presented here match your chosen database.

Step 5:

Navigate your webbrowser to the mantis directory and login with the default provided username and password that is supplied with the installation.

Username: administrator Password: root

Step 6:

Learn how to use the bug tracking software, it's fairly straight forward. You need to create a project first before you can do anything with it.

Test

 code box