Win7 git service-side build

Source: Internet
Author: User

1. Install Jdk-8u172-windows-x64.exe, install with default settings
Two JRE:
C:\Program FILES\JAVA\JDK1.8.0_172\JRE: Dedicated JRE for running the tools contained in the JDK without registry settings.
C:\Program files\java\jre1.8.0_172: Public JRE, which can be used by other Java applications, is registered to the registry (Hkey_local_machine\software\javasoft) and the browser.

2. Configure Java Environment variables
Java_home:c:\program files\java\jdk1.8.0_172
CLASSPATH:.; %java_home%\lib;%java_home%\lib\tools.jar;
Path:;%java_home%\bin;%java_home%\jre\bin;

3. Run "Javac" on the command line to verify that the Java environment is OK

4. Login https://www.scm-manager.org/download, download scm-server-1.59-app.zip

5. Unzip to D:\scm-server-1.59-app

6. Run as Administrator: D:\scm-server-1.59-app\Scm-server\bin\scm-server.bat

7. Open http://localhost:8080/scm/in the browser, initial user name password scmadmin/scmadmin

8. Create a new directory D:\scm-server-1.59-app\git, as a git repository

9. Login http://localhost:8080/scm/, new XXX user, and set as Administrator, use XXX login

10. Enter Config| Repository Types, set "Git Settings", "Repository Directory" set to "D:\scm-server-1.59-app\git"

11. Enter main| Repositories, click Add, create a new MyProject git repository

12. Open git extensions,clone repository,http://xxx:[email protected]:8080/scm/git/MyProject, Clone to E:\ Open after Workdir,clone

Finish the call!

Win7 git service-side build

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.