This is what I did to get mantis to work with SourceSVN
- Create folder D:\Documents\Developer\
Install Subversion
- Install CollabNet Subversion Edge D:\Documents\Developer\SubversionEdge\
- Create a Normal User and assign it to the ‘Test’ repositories - shoulders
Install Xampp
- Install xampp - D:\Documents\Developer\xampp\
- Change xampp ports (optional)
To prevent issues with my other webservers I use for development. It is easier to reconfigure the one sever that is not going to get changed.
- Apache
- Httpd.conf
- Listen 80 –> 81
- ServerName localhost:80 -> :81
- Httpd.conf
- Httpd-ssl.conf
- Listen 443 –> 444
- <VirtualHost _default_:443> -> <VirtualHost _default_:444>
- Apache
- Mysql –my.ini
- [client] port = 3306 – 3307
- [mysqld] port=3306 - 3307
- Php.ini - if you do not change this you get a #2002 – connection actively reused error
- mysql.default_port=3306 – 3307
- mysqli.default_port=3306 - 3307
Install Mantis
- create a table in PHPMyadmin called mantis using utf8_general_ci collation
- set a username and password ; mantis : YFb5fNTtmXsFHpBP, grant all privileges on the mantis SQL table
- setup mantis, install with MySQLi – it is quicker of connecting
- Nb you need a MySQL root account to install. This might change in a newer version. Stupid, I had to use root and not password
- Default username/password: administrator / root
- Renamed default user to mantis-admin
- Delete the admin folder ( I renamed it just in case)
- Run mantis
- Create a normal user – if more than one user - shoulders
- Install Source Integration Plugin and SourceSVN
- Config settings I changed
- Bug Fixed Message Template – I added everything in ?
- API Key – added my random generated key here
- SVN: Path to binary - D:\Documents\Developer\SubversionEdge\bin also “D:\Documents\Developer\SubversionEdge\bin” might be valid when there are spaces in the path
- SVN: Trust All SSL Certs – ticked, allows me to use a self-signed cert whilst being secure
- SVN: Use Windows `start` - I believe you need this when using windows. ?
Create Repository
- Goto mantis/repositories
- Type in ‘test’ for name and select SVN for type
- Click create repository
- Fill in the following details, leave the rest
- Name – prefilled - Test
- URL – this is the front facing url for the repository
https://svn.exampleserver.com:18080/svn/ - SVN Username – don’t use the super admin, you might consider a repository specific username here
- SVN Password
- Standard Repository – tick
- Click ‘update repository’
- Click ‘import everything’
This is far as I got, more errors and bugs. Mantis is free but needs a serious GUI upgrade