mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-07-12 15:33:11 +02:00
Add getting-stated guide for v2
This commit is contained in:
@@ -82,8 +82,8 @@ repositories over http.
|
||||
|
||||
### SCM Manager 2
|
||||
|
||||
- [Getting started](v2/getting-started.md)
|
||||
- [Configuration for Intellij IDEA](v2/intellij-idea-configuration.md)
|
||||
- [State of SCM-Manager 2 development](v2/state-of-development.md)
|
||||
- [SCM v2 Test Cases](v2/test-cases.md)
|
||||
- [Table of decisions made during development](v2/decision-table.md)
|
||||
- [Definition of done](definition-of-done.md)
|
||||
|
||||
@@ -2,18 +2,14 @@
|
||||
|
||||
### Install Java
|
||||
|
||||
SCM-Manager needs an installed Java 1.7 or newer. It is recommended to
|
||||
use the [oracle jre](http://java.oracle.com/). How to check
|
||||
which version of Java is installed:
|
||||
SCM-Manager needs an installed Java 1.7 or newer. It is recommended to use the [oracle jre](http://java.oracle.com/).
|
||||
How to check which version of Java is installed:
|
||||
|
||||
```bash
|
||||
java -version
|
||||
```
|
||||
|
||||
### Install the latest version of Java
|
||||
|
||||
Download java from [here](http://java.oracle.com/) and follow
|
||||
the install instructions.
|
||||
Download java from [here](http://java.oracle.com/) and follow the install instructions.
|
||||
|
||||
### Install SCM-Manager
|
||||
|
||||
|
||||
47
docs/v2/getting-started.md
Normal file
47
docs/v2/getting-started.md
Normal file
@@ -0,0 +1,47 @@
|
||||
# Getting started
|
||||
|
||||
### Install Java
|
||||
|
||||
SCM-Manager needs an installed Java 1.8 or newer. It is recommended to use the [oracle jre](http://java.oracle.com/).
|
||||
How to check which version of Java is installed:
|
||||
|
||||
```bash
|
||||
java -version
|
||||
```
|
||||
|
||||
Download java from [here](http://java.oracle.com/) and follow the install instructions.
|
||||
|
||||
### Install SCM-Manager
|
||||
|
||||
#### Standalone Server
|
||||
|
||||
Download the latest version of SCM-Manager from
|
||||
[Nexus](https://maven.scm-manager.org/nexus/#nexus-search;gav~sonia.scm~scm-server~2.*~~),
|
||||
extract the downloaded .zip or .tar.gz archive and start SCM-Manager 2 with
|
||||
|
||||
```bash
|
||||
scm-server/bin/scm-server
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```bash
|
||||
scm-server\bin\scm-server.bat
|
||||
```
|
||||
|
||||
#### Docker
|
||||
|
||||
To start SCM-Manager with a persistent volume on port 8080 run the following command:
|
||||
|
||||
```bash
|
||||
docker run -p 8080:8080 -v scm-home:/var/lib/scm --name scm scmmanager/scm-manager:2.0.0-latest
|
||||
```
|
||||
|
||||
### First access
|
||||
|
||||
Your SCM-Manager should be running on port 8080. You can access it locally via <http://localhost:8080>.
|
||||
|
||||
| | |
|
||||
| ------------ | ----------------------- |
|
||||
| **Username** | scmadmin |
|
||||
| **Password** | scmadmin |
|
||||
Reference in New Issue
Block a user