Skip to content

Commit f79a719

Browse files
committed
Add params.ini file to gitignore
1 parent cfdd836 commit f79a719

File tree

4 files changed

+10
-0
lines changed

4 files changed

+10
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,6 @@ datagen_output/
4949
# Hadoop directory extracted as instructed in the Quick Start guide
5050
/hadoop-2.6.0.tar.gz
5151
/hadoop-2.6.0/
52+
53+
# configuration file
54+
params.ini

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ before_install:
1313
- docker build . --tag ldbc/datagen
1414
install: true
1515
script:
16+
- cp params-csv.ini params.ini
1617
- docker run --rm --mount type=bind,source="$(pwd)/",target="/opt/ldbc_snb_datagen/out" --mount type=bind,source="$(pwd)/params.ini",target="/opt/ldbc_snb_datagen/params.ini" ldbc/datagen
1718
- mkdir out
1819
- cp -r substitution_parameters out/

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ docker build . --tag ldbc/datagen
5454

5555
To configure the amount of memory available, set the `HADOOP_CLIENT_OPTS` variable in the Dockerfile. The default value is `-Xmx8G`.
5656

57+
Initialize the `params.ini` file as needed. For example, to generate the basic CSV files, issue:
58+
59+
```bash
60+
cp params-csv.ini params.ini
61+
```
62+
5763
#### Running
5864

5965
In order to run the container, a `params.ini` file is required. For reference, please see the `params*.ini` files in the repository. The file will be mounted in the container by the `--mount type=bind,source="$(pwd)/params.ini,target="/opt/ldbc_snb_datagen/params.ini"` option. If required, the source path can be set to a different path.
File renamed without changes.

0 commit comments

Comments
 (0)