Install Bitnami Redmine on Win 7 and peek into Git repository

I installed Redmine on my PC and tried Redmine and Git.

However, because Git’s Bare repository meaning was not known, Redmine got Git

I could not see the repository.

So record the procedure from installation to viewing the Git repository.

I would appreciate it if you can tell me if there is a simpler way.



environment

PC: Windows Virtual PC

OS: Windows 7 Ultimate SP 1

RM: Bitnami Redmine Stack 3.2.0-2



Goal

By installing Redmine on your PC and seeing Git’s repository, install

Confirm what you can do.



principle

It is easy to install using Bitnami’s program stack.

Redmine only git the repository initialized with Git’s “–bare” option

I can peek but I can not directly commit to that repository, so I cloned it

Push after committing to the local repository.



Details



1. Installing Bitnami Redmine

Bitnami’s page
Go to

Download for Windows.

Execute the downloaded installation program.

Click “Next” several times to complete the installation.

The password you entered during installation will also be the MySQL root password,

I also used it later when I added backups and TestLink.

RedminePW.png

Since this kind of error occurred, change localhost to 127.0.0.1 on hosts and start over

Then it went well.

RedmineLHerr.png

Some parts could not be displayed if Japanese was selected as the installation language before

That’s right, it’s improved.

Reference:Install Bitnami Redmine for Windows



2. View the Git repository



-1 Make a project and ticket to Redmine

Login to Redmine and project with “Project” → “New Project”

Make it. (Content is appropriate)

Make a ticket with “New Ticket”. (Content is appropriate)

→ I can create a ticket “# 1”



-2 Git creates repository for server and local repository and puts file

Windows “Start”, “All Programs”, “Bitnami Redmine Stack

Use “prompt”.

RedmineCP.png

Make a folder “\ Repositories \ tutorial.git” for the Git server.

MakeDir.png

Create a repository for Git servers with “git init –bare”.

GitInit.png

Create a folder “\ work” for Git local repository, under it

“Clone in” git clone \ Repositories \ tutorial.git “.

GitLocalRpo.png

Make a test file.

(“Copy con: sample.txt”, contents are appropriate)

CopyFile.png

Add “sample.txt” to the index with “git add sample.txt”.

GitAdd.png

“Git config –global user.name” ◯◯ “” and

“Git config –global user.email” __# “” with

Register user name and mail address.

Since Redmine searches for user names and mail addresses from the Git repository,

It is necessary to register the user name and mail address registered in Redmine.

GitConfig.png

“Git commit – m” # 1 first commit “” to Git local repository

Add Redmine ticket number “# 1” to the annotation and commit.

GitCommit.png

“Git push orign master” to send to the Git server.

GitPush.png

IIntroduction to Git to understand in monkeysI watched and practiced Git.

Remote repository is borrowed by initializing with “–bare” option

I could make it without it.



-3 Looking inside the repository for servers with Redmine

Open the project with Redmine, “Settings”, “Repository”, “New

Repository “to display the registration screen.

RMrepo1.png

SCM: “Git”, identifier: “tutorial”, repository path: “C: \ Repositories \ tutorial.git”,

Then click “Create”.

RMrepo2.png

When you click “Repository”, when you commit in Git local repository

You can see the comment.

RMrepo3.png

When you click “# 1” in the comment, Redmine displays ticket # 1.
that’s all

Leave a Reply