Skip to content

Commit

Permalink
Update version in README.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
khituras committed Oct 21, 2022
1 parent 2a4e7da commit abbf0e1
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 31 deletions.
25 changes: 5 additions & 20 deletions gepi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ The `production` stage expects that the complete GePI project has been built in
Run the following commands to create a `development` container:

```bash
DOCKER_BUILDKIT=1 docker build -t gepi:0.9.0-SNAPSHOT --target development .
docker run -dp 8080:8080 -v {/path/to/gepi/directory}:/var/gepi/dev -e GEPI_CONFIGURATION=<path to config file> gepi:0.9.0-SNAPSHOT
DOCKER_BUILDKIT=1 docker build -t gepi:0.10.0-SNAPSHOT --target development .
docker run -dp 8080:8080 -v {/path/to/gepi/directory}:/var/gepi/dev -e GEPI_CONFIGURATION=<path to config file> gepi:0.10.0-SNAPSHOT
```

The first command builds an image of the `development` stage. This will also build the `dependencies` stage where all the Java dependencies of the GePI application are downloaded and cached. This will take a while on the first execution but should be faster afterwards thanks to caching.
Expand All @@ -38,8 +38,8 @@ To run the `production` container, run

```bash
mvn clean package --projects gepi-webapp --also-make
DOCKER_BUILDKIT=1 docker build -t gepi:0.9.0-SNAPSHOT --target production .
docker run -dp 8080:8080 gepi:0.9.0-SNAPSHOT
DOCKER_BUILDKIT=1 docker build -t gepi:0.10.0-SNAPSHOT --target production .
docker run -dp 8080:8080 gepi:0.10.0-SNAPSHOT
```

These commands
Expand All @@ -65,19 +65,4 @@ gepi.neo4j.bolt.url=bolt://<host>:<port>

## GePI development

Important note: ***Do not edit the `README.md` file in the module roots*** if there exists a `readme-raw` subdirectory. The file in the root is just a Maven-filtered copy of the `readme-raw/README.md` file. The Maven filtering replaces Maven properties like the project version in the `readme-raw/README.md` file and puts the result in the module root, overriding the previous `README.md` file.

### Development ElasticSearch

For development purposes, an ElasticSearch Docker container can be created using the contents of the `gepi-indexing/es-docker` directory.

In the original development, this container-ES was populated by selecting a random subset of document containing genes from the larger JeDIS database tables of a completely processed PubMed. The CoStoSys subset table for this purpose was called `gepi.dev` which might be found at appropriate places - or not if the last pipeline run was not a development run. The used pipeline was the production `gepi-indexing-pubmed` pipeline with the following adjustments:
* *JCoRe ElasticSearch Consumer* deactivated
* *Gazetteer FamPlex Dictionary* deactivated
* *JCoRe ElasticSearch Consumer Localhost* activated
* *Gazetteer FamPlex Dictionary dev*
* DB XMI reader configured to read from the `gepi.dev` subset table
* `config/costosys.xml` file must use the `DBConnection` called `pmlocalhost`
* this required that the JeDIS database runs at the localhost or there is an SSH tunnel to the database server

The ES Consumer resources that these components use were the original resources derived from the production Neo4j gene database so that the production database could be used for development.
Important note: ***Do not edit the `README.md` file in the module roots*** if there exists a `readme-raw` subdirectory. The file in the root is just a Maven-filtered copy of the `readme-raw/README.md` file. The Maven filtering replaces Maven properties like the project version in the `readme-raw/README.md` file and puts the result in the module root, overriding the previous `README.md` file.
2 changes: 1 addition & 1 deletion gepi/gepi-concept-database/dependency-reduced-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<artifactId>gepi</artifactId>
<groupId>de.julielab</groupId>
<version>0.9.0-SNAPSHOT</version>
<version>0.10.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>gepi-concept-database</artifactId>
Expand Down
7 changes: 0 additions & 7 deletions gepi/gepi-indexing/gepi-indexing-pmc/config/logback.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,6 @@
</pattern>
</encoder>
</appender>
<logger name="de.julielab.costosys.dbconnection.DataBaseConnector" level="INFO" />
<logger name="de.julielab.costosys.dbconnection.CoStoSysConnection" level="INFO" />
<logger name="de.julielab.costosys.dbconnection.ThreadedColumnsToRetrieveIterator" level="DEBUG" />
<logger name="de.julielab.jcore.ae.genemapper.genemodel.GeneDocument" level="ERROR" />
<logger name="de.julielab.jcore.consumer.neo4jrelations.Neo4jRelationsConsumer" level="WARN"/>
<logger name="de.julielab.gepi.indexing.RelationDocumentGenerator" level="INFO" />
<logger name="de.julielab.jcore.consumer.es.sharedresources.LuceneIndex" level="DEBUG" />
<root level="INFO">
<appender-ref ref="STDOUT" />
</root>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@

<value>

<integer>50</integer>
<integer>5</integer>

</value>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@

<value>

<boolean>false</boolean>
<boolean>true</boolean>

</value>

Expand All @@ -295,7 +295,7 @@

<value>

<integer>50</integer>
<integer>5</integer>

</value>

Expand Down

0 comments on commit abbf0e1

Please sign in to comment.