Skip to content

Commit 79ffed4

Browse files
authored
updated README with Docker steps
1 parent e84105e commit 79ffed4

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ To install, run the following commands:
1414
sudo yum -y localinstall https://centos7.iuscommunity.org/ius-release.rpm
1515
sudo yum -y install git2u-svn git2u bc git-lfs
1616
```
17+
### Building the Docker container
18+
```bash
19+
docker build -t github/svn2github .
20+
```
1721

1822
## Features
1923
- Sizing of the remote repository
@@ -29,6 +33,21 @@ chmod +x svn2github.sh
2933
./svn2github.sh
3034
```
3135

36+
### Running in Docker
37+
1. Run the container
38+
```bash
39+
docker run -dit --name svn2github github/svn2github
40+
```
41+
2. Enter a shell prompt in the container
42+
```bash
43+
docker exec -it svn2github bash
44+
```
45+
3. Edit the `settings.ini` file
46+
4. Execute the script
47+
```bash
48+
./svn2github.sh
49+
```
50+
3251
## Using individual functions
3352
### _svn_sizer
3453
```bash

0 commit comments

Comments
 (0)