GithubHelp home page GithubHelp logo

vipjaven / mantisbt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mantisbt/mantisbt

0.0 1.0 0.0 47.04 MB

Mantis Bug Tracker (MantisBT)

Home Page: http://www.mantisbt.org

PHP 95.69% XSLT 2.43% ApacheConf 0.01% CSS 0.88% Makefile 0.15% JavaScript 0.54% HTML 0.12% Shell 0.16%

mantisbt's Introduction

Mantis Bug Tracker (MantisBT)

Build Status ![Gitter](https://badges.gitter.im/Join Chat.svg)

For complete documentation, please read the administration guide included with this release in the doc/ directory. The guide is available in text, PDF, and HTML formats.

Requirements

  • MySQL 4.1.1+, PostgreSQL 8+, or other supported database
  • PHP 5.3.2+
  • a webserver (e.g. Apache or IIS)

Installation

  • Extract the tarball into a location readable by your web server
  • Point your browser to http://path/to/mantisbt/admin/check.php to ensure that your webserver is compatible with MantisBT and configured correctly
  • Point your browser to http://path/to/mantisbt/admin/install.php to begin the database installation process
  • Select the database type and enter the credentials to access the database
  • Click install/upgrade
  • Installation is complete -- you may need to copy the default configuration to mantisbt/config/config_inc.php if your web server does not have write access
  • Remove the admin/ directory from within the MantisBT installation path. The scripts within this directory should not be accessible on a live MantisBT site or on any installation that is accessible via the Internet.

UPGRADING

  • Backup your existing installation and database -- really!
  • Extract the tarball into a clean directory; do not extract into an existing installation, as some files have been moved or deleted between releases
  • Copy your configuration from the old installation to the new directory, including config_inc.php, custom_strings_inc.php, custom_relationships_inc.php, custom_functions_inc.php and custom_constants_inc.php if they exist
  • Point your browser to http://path/to/mantisbt/admin/check.php to ensure that your webserver is compatible with MantisBT and configured correctly
  • Point your browser to http://path/to/mantisbt/admin/install.php to upgrade the database schema
  • Click install/upgrade
  • Remove the admin/ directory from within the MantisBT installation path. The scripts within this directory should not be accessible on a live MantisBT site or on any installation that is accessible via the Internet.
  • Upgrading is complete

CONFIGURATION

This file contains information to help you customize MantisBT. A more detailed doc can be found at http://www.mantisbt.org/docs/

  • config_defaults_inc.php

    • this file contains the default values for all the site-wide variables.
  • config/config_inc.php

    • You should create this file to change config variable values. Your values from this file will be used instead of the defaults. This file will not be overwritten when you upgrade, but config_defaults_inc.php will. Look at config/config_inc.php.sample for an example.
  • core/*_api.php - these files contains all the API library functions.

  • global variables are prefixed by g_

  • parameters in functions are prefixed with p_ -- parameters shouldn't be modified within the function.

  • form variables are prefixed with f_

  • variables that have been cleaned for db insertiong are prefixed with c_

  • temporary variables are prefixed with t_.

  • template variables are prefixed with tpl_.

  • count variables have the word count in the variable name

More detail can be seen in the coding guidelines at: http://www.mantisbt.org/guidelines.php

  • The files are split into three basic categories, viewable pages, include files and pure scripts. Examining the viewable pages (suffix _page) should make the basic file format fairly easy to see. The file names themselves should make their purpose apparent. The approach used is to break the work into many small files rather than have a small number of really large files.

  • Most of the action scripts have a confirmation page to make sure the action completed successfully. The pages will automatically redirect you after a short amount of time. You can shorten of lengthen the time by editing $g_default_redirect_delay in config_inc.php.

  • Edit css_inc.php to make your own page formatting.

  • You can set $g_top_include_page and $g_bottom_include_page to alter what should be visible at the top and bottom of each page.

  • All files were edited with TAB SPACES set to 4.

As a general debugging tip you should be extremely generous in using echo, print and exit functions. This is the quickest way to see if a database query actually contains what you want, etc.

mantisbt's People

Contributors

amyreese avatar atrol avatar badfiles avatar cproensa avatar danez avatar davidhicks avatar dominik avatar dregad avatar giallu avatar gtz-et avatar jeckyhl avatar kirill avatar kornelski avatar mantis avatar maringer avatar matthieur avatar mattmccutchen avatar mfoxen avatar mgrdcm avatar osguard avatar rlerdorf avatar rombert avatar siebrand avatar stpe avatar syncguru avatar thg2k avatar thraxisp avatar vboctor avatar vemag avatar vincentsels avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.