[.. SDE]
= Add a Project =
== Subversion ==
* Run `cmd.exe`
* Change to D drive (`D:`)
* Run '''svnadmin create d:\svn\ABC'''
* Run '''mkdir temp\trunk temp\branches temp\tags'''
* Run '''svn import temp !file:///D:/svn/ABC -m "Initial repository tree"''
* Open `d:\svn\ABC\conf\svnserve.conf` and edit the following options
{{{
anon-access = none
auth-access = write
password-db = passwd
authz-db = authz
}}}
* Open `d:\svn\ABC\conf\passwd` and add a user and password
{{{
hong_gil_dong = password
}}}
* Open `d:\svn\ABC\conf\authz` and add hong_gil_dong
{{{
[/]
hong_gil_dong = rw
}}}
== Trac ==
* Run `cmd.exe`
* Change to D drive (`D:`)
* Run '''trac-admin d:\Trac\ABC initenv'''
* Project Name [My Project]> '''ABC'''
* Database connection string [sqlite:db/trac.db]> ''enter''
* Copy [attachment:girjae_slogan_20160228.png the company logo] to '''d:\trac\ABC\htdocs\girjaesoft.png'''
* Open `d:\trac\ABC\conf\trac.ini` and edit
{{{
[header_logo]
alt = ABC Project
height = 40
link = http://www.inchalust.com/abc
src = site/girjaesoft.png
width = -1
[project]
descr = abc project
url = http://www.inchalust.com/abc/trac
[trac]
default_charset = MS949
}}}
* Create `d:\trac\ABC\conf\trac.wsgi`
{{{
import os
os.environ['PYTHON_EGG_CACHE'] = 'd:/trac/ABC/eggs'
import trac.web.main
def application(environ, start_response):
environ['trac.env_path'] = 'd:/trac/ABC'
return trac.web.main.dispatch_request(environ, start_response)
}}}
* 주의) `environ`과 `return`은 들여쓰기를 할 것.
* Create an empty `D:\trac\ABC\conf\htpasswd` file.
* Open `c:\www\apache\conf\extra\httpd-xampp.conf` and add
{{{
WSGIScriptAlias /abc D:\trac\ABC\conf\trac.wsgi
WSGIApplicationGroup %{GLOBAL}
Order deny,allow
Allow from all
AuthType Basic
AuthName Trac
AuthUserFile D:\trac\ABC\conf\htpasswd
Require valid-user
}}}
* Add administrator permission to anonymous
{{{
trac-admin D:\trac\ABC permission add anonymous TRAC_ADMIN
}}}
* Restart Apache server
* Visit '''http://www.inchalust.com/abc'''
* Click `Admin` on right-top in the site.
* Click `General` > `Plugins` on the left in the site.
* Click `tracaccountmanager0.4.4`
* Select the following options and then press `Apply change` button.[[br]]
[[Image(tracaccountmanager_0_4_4_screencapture.png)]]
* Click `Accounts` > `Configuration` on the left in the site.
* Select the following options and then press `Save` button.[[br]]
[[Image(accounts_configuraton_screencapture.png)]]
* Click `Accounts` > `Users` on the left in the site.
* Fill `admin` to `Username` and fill the others (e.g., Password, Confirm Password, etc)
* Press `Add` button
* Click `General` > `Permission` on the left in the site.
* Add the following permissions to `admin` and `authenticated`.[[br]]
[[Image(accounts_permissions.png)]]
* Click checkbox on the right of `anonymous` and press `Remove selected items` button.
== Mantis ==
* Log in Mantis with `administrator` account.
* Go to `Manage` > Manage Projects
* Click `Create New Project` button.
* Add a project with '''private'''
* Add users to the project.
== ==
[.. SDE]